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

	// when
	Iterable<Class<? extends Plugin>> plugins = ClassIndex.getSubclasses(Plugin.class);
	// then
	assertThat(plugins).containsOnly(FirstComponent.class, ExtraPlugin.class);
}