AnnotatedWithStepsWithDependency.class);
final List<CandidateSteps> buildCandidateSteps = builderAnnotated
.buildCandidateSteps();
assertThatStepsInstancesAre(buildCandidateSteps,
FooStepsWithDependency.class);
final ValueGetter getter = ((FooStepsWithDependency) ((Steps) buildCandidateSteps
.get(0)).instance()).getGetter();
assertNotNull(getter);
assertThat((String) getter.getValue(), is(ValueGetter.VALUE));
}