@Test
@SuppressWarnings("unchecked")
public void shouldIndexSubclasses() {

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