@Test
void getInterfacesTest() {

    Stream<Class<?>> foundInterfaces = ClassUtil.getAllInterfaces(ArrayList.class);
    assertThat(foundInterfaces)
        .containsExactly(List.class, Collection.class, Iterable.class, RandomAccess.class, Cloneable.class,
                Serializable.class);
}