@Test
public class InvokedMethodListenerSubtypeTest {
@Test
public void testFromListenerUsingSimpleListenerInstance() {
final IInvokedMethodListener simpleListenerInstance = new SimpleInvokedMethodListenerDummy();
InvokedMethodListenerSubtype listenerSubtype =
InvokedMethodListenerSubtype.fromListener(simpleListenerInstance);
Assert.assertEquals(listenerSubtype, InvokedMethodListenerSubtype.SIMPLE_LISTENER);