@Test
public void interfaces_ConcreteMessage_returnsMarkerInterface() {

    // given
    ClassTypeExtractor sut = new ClassTypeExtractor(ConcreteMessage.class);
    // when
    Iterable<Class<?>> interfaces = sut.interfaces();
    // then
    assertThat("Expected interface of message class.", interfaces, hasItem(MarkerInterface.class));
}