@Test
public void testMatchesPrefix() {

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