### Question:
AnnotatedSubscriber extends AbstractSubscriber<T> { @Override protected void acceptEvent(T event) throws Exception { method.invoke(observer, event); } AnnotatedSubscriber(@NonNull Object observer, @NonNull Method method); @Override boolean equals(Object other); @Override int hashCode();  }### Answer:
@Test public void testAcceptEvent() throws Exception { subscriber.acceptEvent(object); assertTrue(methodCalled); assertNotNull(receivedEvent); }