source: class AnnotatedSubscriberTest {
  
      @Mock Object object;
      private Method method;
      private AnnotatedSubscriber<Object> subscriber;
      private boolean methodCalled;
      private Object receivedEvent;
  
      @Test
      public void testRelease() throws Exception {
  
target:         subscriber.release();
  
          try {
              subscriber.acceptEvent(object);
              fail("Expected an NullPointerException to be thrown");
          } catch (NullPointerException e) {
              assertTrue(true);
          }
      }
  
  }