@Test public void exactMatcherMatchesMessageWithSameKey() { KeyMatcher matcher = ExactKeyMatcher.buildExactMatcher(keyed); KeyedMessage another = new TestKeyedMessage(); assertTrue(matcher.matches(another)); }
public abstract boolean matches(MessageKey key);
KeyMatcher { public abstract boolean matches(MessageKey key); }
KeyMatcher { public abstract boolean matches(MessageKey key);  }
KeyMatcher { public abstract boolean matches(MessageKey key);  abstract boolean matches(MessageKey key); boolean matches(KeyedMessage other); static KeyMatcher getWildcardMatcher(); @Override boolean equals(Object obj); }
KeyMatcher { public abstract boolean matches(MessageKey key);  abstract boolean matches(MessageKey key); boolean matches(KeyedMessage other); static KeyMatcher getWildcardMatcher(); @Override boolean equals(Object obj);  }