@Test
public void should_find_superclasses_and_interfaces() {

	assertThat(getInheritedClasses(ArrayList.class)).containsOnly(
			AbstractList.class,
			AbstractCollection.class,
			Object.class,
			List.class,
			Collection.class,
			Iterable.class,
			Serializable.class,
			RandomAccess.class,
			Cloneable.class
	);
	assertThat(getInheritedClasses(FileOutputStream.class)).containsOnly(
			OutputStream.class,
			Object.class,
			Closeable.class,
			AutoCloseable.class,
			Flushable.class
	);
}