@Test
public void shouldReturnOnlyAnnotatedWith() {

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