@Test
public void shouldReturnTopLevelClasses() {

	// when
	Iterable<Class<?>> result = ClassFilter.only().topLevel().from(list);
	// then
	assertThat(result).containsOnly(FirstComponent.class, SecondComponent.class, Service.class);
}