@Test
    public final void staticThrottlePolicySignature() {
        final StaticThrottlePolicy base = new StaticThrottlePolicy();
        final StaticThrottlePolicy other = new StaticThrottlePolicy();
        other.setMaxPendingCount(500).setMaxPendingSize(500 * 1000 * 1000);
        base.setMaxPendingCount(1).setMaxPendingSize(1000);
        final StaticThrottlePolicySignature sigBase = new StaticThrottlePolicySignature(base);
        final StaticThrottlePolicySignature sigOther = new StaticThrottlePolicySignature(other);
        assertFalse("The policies are different, but signatures are equal.", sigBase.equals(sigOther));
        assertTrue("Sigs created from same policy evaluated as different.",
                sigBase.equals(new StaticThrottlePolicySignature(base)));
        other.setMaxPendingCount(1);
        other.setMaxPendingSize(1000);
        assertTrue("Sigs created from different policies with same settings evaluated as different.",
                sigBase.equals(new StaticThrottlePolicySignature(other)));

    }
Check the completeness of the mbus session key classes.

@author Steinar Knutsen
container-messagebus/src/test/java/com/yahoo/container/jdisc/messagebus/MbusSessionKeyTestCase.java