### Question:
ProcessorStopEvent { public Processor getProcessor() { return processor; } ProcessorStopEvent(final Processor processor, final Map properties); Processor getProcessor(); Map getProperties();  }### Answer:
@Test public void getProcessor() { final Processor processor = event.getProcessor(); assertNotNull("Processor is null.", processor); assertSame("Unexpected processor.", mockProcessor, processor); }