@Test
public void Should_resolveWrapperAndPushAsEnvironment()
        throws Exception {

    IMessageReceiver decorator = new WrapperCreatorReceiverDecorator(
            receiverMock, map, "the wrapper resolution strategy resolution strategy");
    decorator.receive(messageProcessorMock);
    verify(messageProcessorMock, times(1)).pushEnvironment(same(wrapperMock));
    verify(wrapperResolutionStrategyResolutionStrategyMock, times(1)).resolve(same(wrapperConfMock));
    assertSame(wrapperResolutionStrategyMock, map.get(stepConfMock));
    decorator.receive(messageProcessorMock);
    verify(messageProcessorMock, times(2)).pushEnvironment(same(wrapperMock));
    verify(wrapperResolutionStrategyResolutionStrategyMock, times(1)).resolve(same(wrapperConfMock));
    assertSame(wrapperResolutionStrategyMock, map.get(stepConfMock));
}