##### Coverage Report - org.jbehave.core.configuration.NullAnnotationMonitor

Classes in this File | Line Coverage | Branch Coverage | Complexity
NullAnnotationMonitor |
33% | 1/3
N/A | N/A
| 1.0;1

1 |  |
     package org.jbehave.core.configuration;
2 |  |
3 |  |
     import java.lang.annotation.Annotation;
4 |  |
5 |  |
     /**
6 |  |
      * <a href="http://en.wikipedia.org/wiki/Null_Object_pattern">Null Object
7 |  |
      * Pattern</a> implementation of {@link AnnotationMonitor}. Can be extended to
8 |  |
      * override only the methods of interest.
9 |  |
      */
10 | 20 |
     public class NullAnnotationMonitor implements AnnotationMonitor {
11 |  |
12 |  |
         public void elementCreationFailed(Class<?> elementClass, Exception cause) {
13 | 0 |
         }
14 |  |
15 |  |
         public void annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance) {
16 | 0 |
         }
17 |  |
18 |  |
     }