@Test
public void testMatches() {

    final String type = "test.dummy.event";
    final EventSubscriber subscriber = new MockEventSubscriber();
    final EventSubscription subscription =
            new EventSubscription(type, subscriber);
    Assert.assertTrue(subscription.matches(type));
}