use of org.jbehave.core.configuration.weld.WeldBootstrap in project jbehave-core by jbehave.
the class WeldAnnotatedPathRunner method annotationBuilder.
public AnnotationBuilder annotationBuilder() {
if (container == null) {
container = new WeldBootstrap();
container.initialize();
}
return container.findAnnotationBuilder(testClass());
}
use of org.jbehave.core.configuration.weld.WeldBootstrap in project jbehave-core by jbehave.
the class WeldAnnotationBuilderBehaviour method createBuilder.
private AnnotationBuilder createBuilder(Class<?> type) {
WeldBootstrap bootstrap = new WeldBootstrap();
bootstrap.initialize();
AnnotationBuilder builder = bootstrap.findAnnotationBuilder(type);
assertThat(builder, is(AnnotationBuilder.class));
return builder;
}
Aggregations