JmsResponseProcessor extends ProcessorBase { @Override public void process(final WilmaHttpEntity entity) throws ApplicationException { WilmaHttpResponse response = (WilmaHttpResponse) entity; jmsResponseBuilder.buildResponse(response); }  @Override void process(final WilmaHttpEntity entity);  }
@Test public void testProcessShouldCallBuildMessageWhenResponseHasWilmaLoggerId() throws ApplicationException { underTest.process(response); verify(jmsResponseBuilder).buildResponse(response); }