use of com.yahoo.container.jdisc.messagebus.SessionCache.UnknownThrottlePolicySignature in project vespa by vespa-engine.
the class MbusSessionKeyTestCase method unknownThrottlePolicySignature.
@Test
public final void unknownThrottlePolicySignature() {
final UnknownThrottlePolicySignature baseSig = new UnknownThrottlePolicySignature(new StaticThrottlePolicy());
final UnknownThrottlePolicySignature otherSig = new UnknownThrottlePolicySignature(new StaticThrottlePolicy());
assertEquals(baseSig, baseSig);
assertFalse(otherSig.equals(baseSig));
}
Aggregations