private Method getRecordingMethod() throws NoSuchMethodException {
    return getClass().getMethod("recordingMethod");
  }
Checks that EventProducer's constructor disallows null targets.
otto/src/test/java/com/squareup/otto/EventProducerTest.java