EventSubscription { public String getType() { return type; } EventSubscription(final String eventType,
            final EventSubscriber eventSubscriber); String getType(); boolean matches(final String eventType); EventSubscriber getSubscriber(); void publish(final JVoiceXMLEvent event); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void testGetType() { final String type = "test.dummy.event"; final EventSubscriber subscriber = new MockEventSubscriber(); final EventSubscription subscription = new EventSubscription(type, subscriber); Assert.assertEquals(type, subscription.getType()); }