@Test
public void shouldReturnOnlyEnclosedInGivenClass() {

	// when
	Iterable<Class<?>> result = ClassFilter.only().enclosedIn(InnerClasses.class).from(list);
	// then
	assertThat(result).containsOnly(InnerClasses.InnerComponent.class, InnerClasses.InnerModule.class,
			InnerClasses.InnerComponent.InnerInnerComponent.class);
}