@Test(expected = InvalidReceiverPipelineException.class)
public void Should_throwIfAnyOfItemsHasUndefinedIdentifier()
        throws Exception {

    IReceiverObjectCreator creator = new HandlerRouterReceiverCreator(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(null, receiverMocks[1]);
}