@Test
public void Should_createActorDecoratorsForAllReceivers()
        throws Exception {

    IReceiverObjectCreator creator = new PerReceiverActorSynchronizationReceiverCreator(creatorMock, filterConfig, objectConfig);
    creator.create(listenerMock, objectConfig, context);
    ArgumentCaptor<IReceiverObjectListener> listenerCaptor = ArgumentCaptor.forClass(IReceiverObjectListener.class);
    verify(creatorMock).create(listenerCaptor.capture(), same(objectConfig), same(context));
    listenerCaptor.getValue().acceptItem("id1", receiverMocks[0]);
    listenerCaptor.getValue().acceptItem("id2", receiverMocks[2]);
    verify(listenerMock).acceptItem(eq("id1"), same(receiverMocks[1]));
    verify(listenerMock).acceptItem(eq("id2"), same(receiverMocks[3]));
    reset(listenerMock);
    listenerCaptor.getValue().endItems();
    verify(listenerMock).endItems();
}