@Test
public void testGetSubscriber() {

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