@Test
public void Should_haveAssociatedShutdownAwareTask()
        throws Exception {

    MessageProcessor messageProcessor = new MessageProcessor(taskQueueMock, messageProcessingSequenceMock, configurationMock);
    IShutdownAwareTask shutdownAwareTask = messageProcessor.getAs(IShutdownAwareTask.class);
    assertNotNull(shutdownAwareTask);
}