@Test
public void shouldIndexWhenAnnotationIsInherited() {

	// when
	Iterable<Class<?>> annotated = ClassIndex.getAnnotated(InheritedAnnotation.class);
	// then
	assertThat(annotated).containsOnly(Service.class, FirstService.class, SecondService.class, InnerClasses.InnerService.class);
}