Search in sources :

Example 1 with WeldAnnotatedEmbedderRunner

use of org.jbehave.core.junit.weld.WeldAnnotatedEmbedderRunner in project jbehave-core by jbehave.

the class WeldAnnotatedEmbedderRunnerBehaviour method shouldCreateWithGuiceAnnotatedBuilder.

@Test
public void shouldCreateWithGuiceAnnotatedBuilder() throws InitializationError {
    AnnotatedEmbedderRunner runner = new WeldAnnotatedEmbedderRunner(RunningWithAnnotatedEmbedderRunner.class);
    assertThat(runner.annotationBuilder(), instanceOf(WeldAnnotationBuilder.class));
}
Also used : AnnotatedEmbedderRunner(org.jbehave.core.junit.AnnotatedEmbedderRunner) WeldAnnotatedEmbedderRunner(org.jbehave.core.junit.weld.WeldAnnotatedEmbedderRunner) WeldAnnotationBuilder(org.jbehave.core.configuration.weld.WeldAnnotationBuilder) WeldAnnotatedEmbedderRunner(org.jbehave.core.junit.weld.WeldAnnotatedEmbedderRunner) Test(org.junit.Test)

Aggregations

WeldAnnotationBuilder (org.jbehave.core.configuration.weld.WeldAnnotationBuilder)1 AnnotatedEmbedderRunner (org.jbehave.core.junit.AnnotatedEmbedderRunner)1 WeldAnnotatedEmbedderRunner (org.jbehave.core.junit.weld.WeldAnnotatedEmbedderRunner)1 Test (org.junit.Test)1