@Test(expected = ReceiverObjectListenerException.class)
public void Should_throwWhenActorReceiverCreationStrategyThrows()
        throws Exception {

    when(actorReceiverResolutionStrategy.resolve(same(receiverMocks[0]))).thenThrow(ResolveDependencyStrategyException.class);
    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("idx", receiverMocks[0]);
}