selector.evaluateAnnotatedClasses(wrong, DependsUpon.class);
}
@Test
public void dependsUponPhase() {
BatchExtension pre = new PreSensor();
BatchExtension analyze = new GeneratesSomething("something");
BatchExtension post = new PostSensor();
BatchExtensionDictionnary selector = newSelector(analyze, post, pre);
List extensions = Lists.newArrayList(selector.select(BatchExtension.class, null, true));
assertThat(extensions).hasSize(3);