@Test
public void dispatch_errorResults() throws Exception {

    Message m1 = mockMessage("1");
    Message m2 = mockMessage("2");
    List<Message> messages = Lists.newArrayList(m1, m2);
    mockProcessorResults(
            messageResult("1", SQSMessageResult.Status.ERROR),
            messageResult("2", SQSMessageResult.Status.ERROR)
    );
    dispatcher.dispatch(messages);
    verify(messageProcessorProxy).invoke(new SQSMessageProcessorRequest(messages));
    verifyNoMoreInteractions(messageProcessorProxy, sqsProxy);
}