##### Coverage Report - org.jbehave.core.junit.spring.SpringAnnotatedEmbedderRunner

Classes in this File | Line Coverage | Branch Coverage | Complexity
SpringAnnotatedEmbedderRunner |
100% | 4/4
N/A | N/A
| 1.0;1

1 |  |
     package org.jbehave.core.junit.spring;
2 |  |
3 |  |
     import org.jbehave.core.configuration.AnnotationBuilder;
4 |  |
     import org.jbehave.core.configuration.spring.SpringAnnotationBuilder;
5 |  |
     import org.jbehave.core.junit.AnnotatedEmbedderRunner;
6 |  |
     import org.junit.runners.model.InitializationError;
7 |  |
8 |  |
     /**
9 |  |
      * AnnotatedEmbedderRunner that uses {@link SpringAnnotationBuilder}.
10 |  |
      */
11 |  |
     public class SpringAnnotatedEmbedderRunner extends AnnotatedEmbedderRunner {
12 |  |
13 |  |
         private SpringAnnotationBuilder annotationBuilder;
14 |  |
15 |  |
         public SpringAnnotatedEmbedderRunner(Class<?> testClass) throws InitializationError {
16 | 1 |
             super(testClass);
17 | 1 |
             annotationBuilder = new SpringAnnotationBuilder(testClass());
18 | 1 |
         }
19 |  |
20 |  |
         public AnnotationBuilder annotationBuilder() {
21 | 1 |
             return annotationBuilder;
22 |  |
         }
23 |  |
24 |  |
     }