use of org.jbehave.core.junit.AnnotatedEmbedderRunner in project jbehave-core by jbehave.
the class SpringAnnotatedEmbedderRunnerBehaviour method shouldCreateWithSpringAnnotatedBuilder.
@Test
public void shouldCreateWithSpringAnnotatedBuilder() throws InitializationError {
AnnotatedEmbedderRunner runner = new SpringAnnotatedEmbedderRunner(RunningWithAnnotatedEmbedderRunner.class);
assertThat(runner.annotationBuilder(), instanceOf(SpringAnnotationBuilder.class));
}
use of org.jbehave.core.junit.AnnotatedEmbedderRunner in project jbehave-core by jbehave.
the class PicoAnnotatedEmbedderRunnerBehaviour method shouldCreateWithPicoAnnotatedBuilder.
@Test
public void shouldCreateWithPicoAnnotatedBuilder() throws InitializationError {
AnnotatedEmbedderRunner runner = new PicoAnnotatedEmbedderRunner(RunningWithAnnotatedEmbedderRunner.class);
assertThat(runner.annotationBuilder(), instanceOf(PicoAnnotationBuilder.class));
}
Aggregations