@Test public void interfaces_ConcreteMessage_returnsMarkerInterface() { ClassTypeExtractor sut = new ClassTypeExtractor(ConcreteMessage.class); Iterable<Class<?>> interfaces = sut.interfaces(); assertThat("Expected interface of message class.", interfaces, hasItem(MarkerInterface.class)); }
public Iterable<Class<?>> interfaces() { return interfaces; }
ClassTypeExtractor { public Iterable<Class<?>> interfaces() { return interfaces; } }
ClassTypeExtractor { public Iterable<Class<?>> interfaces() { return interfaces; } ClassTypeExtractor(final Class<?> rootType); }
ClassTypeExtractor { public Iterable<Class<?>> interfaces() { return interfaces; } ClassTypeExtractor(final Class<?> rootType); Iterable<Class<?>> allClasses(); Iterable<Class<?>> interfaces(); Iterable<Class<?>> allClassesAndInterfaces(); }
ClassTypeExtractor { public Iterable<Class<?>> interfaces() { return interfaces; } ClassTypeExtractor(final Class<?> rootType); Iterable<Class<?>> allClasses(); Iterable<Class<?>> interfaces(); Iterable<Class<?>> allClassesAndInterfaces();  }