@Test
public void shouldIndexAnnotated() {

	// when
	Iterable<Class<?>> annotated = ClassIndex.getAnnotated(Component.class);
	// then
	assertThat(annotated).containsOnly(FirstComponent.class, SecondComponent.class,
			InnerClasses.InnerComponent.class, InnerClasses.InnerComponent.InnerInnerComponent.class);
}