@Test
public void interfaces_ArrayList_returnsSuperInterfacesOfImplementedInterfaces() {

    // given
    ClassTypeExtractor sut = new ClassTypeExtractor(ArrayList.class);
    // when
    Iterable<Class<?>> interfaces = sut.interfaces();
    // then
    assertThat("Expected iterable base interface.", interfaces, hasItem(Iterable.class));
}