assertThat(instance, Matchers.instanceOf(InjectableEmbedder.class));
Embedder embedder = ((InjectableEmbedder) instance).injectedEmbedder();
assertThat(embedder.configuration().keywords(), instanceOf(MyKeywords.class));
assertThat(embedder.metaFilters(), equalTo(asList("+embedder injectable")));
assertThat(embedder.systemProperties().getProperty("one"), equalTo("One"));
assertThat(embedder.systemProperties().getProperty("two"), equalTo("Two"));
assertThatStepsInstancesAre(embedder.stepsFactory().createCandidateSteps(), MySteps.class);
}
@Test
public void shouldCreateEmbeddableInstanceFromInjectableEmbedderWithoutStepsFactory() {