UserObjectMethodInvokerReceiverCreator extends BasicIntermediateReceiverObjectCreator { @Override public Collection<Object> enumIdentifiers(IObject config, IObject context) throws InvalidReceiverPipelineException, ReceiverObjectCreatorException { throw new InvalidReceiverPipelineException("Enumeration of user object methods is not implemented."); } UserObjectMethodInvokerReceiverCreator(
            final IReceiverObjectCreator underlyingObjectCreator,
            final IObject filterConfig,
            final IObject objectConfig); @Override Collection<Object> enumIdentifiers(IObject config, IObject context); @Override void acceptItem(Object itemId, Object item);  }
@Test(expected = InvalidReceiverPipelineException.class) public void Should_notSupportItemEnumeration() throws Exception { IReceiverObjectCreator creator = new UserObjectMethodInvokerReceiverCreator(underlyingCreatorMock, filterConfigMock, configMock); creator.enumIdentifiers(configMock, contextMock); }