extractorControl.verify();
}
public void testTemplateExecuteInputGeneratorTrueWithCreator() throws ResourceException {
MockControl connectionFactoryControl = MockControl.createStrictControl(ConnectionFactory.class);
ConnectionFactory connectionFactory = (ConnectionFactory) connectionFactoryControl.getMock();
MockControl recordFactoryControl = MockControl.createStrictControl(RecordFactory.class);
RecordFactory recordFactory = (RecordFactory) recordFactoryControl.getMock();
MockControl connectionControl = MockControl.createStrictControl(Connection.class);
Connection connection = (Connection) connectionControl.getMock();
MockControl interactionControl = MockControl.createStrictControl(Interaction.class);
Interaction interaction = (Interaction) interactionControl.getMock();
MockControl generatorControl = MockControl.createStrictControl(RecordCreator.class);
RecordCreator generator = (RecordCreator) generatorControl.getMock();
MockControl creatorControl = MockControl.createStrictControl(RecordCreator.class);
RecordCreator creator = (RecordCreator) creatorControl.getMock();
MockControl inputRecordControl = MockControl.createStrictControl(Record.class);
Record inputRecord = (Record) inputRecordControl.getMock();
MockControl outputRecordControl = MockControl.createStrictControl(Record.class);
Record outputRecord = (Record) outputRecordControl.getMock();
MockControl interactionSpecControl = MockControl.createStrictControl(InteractionSpec.class);
InteractionSpec interactionSpec = (InteractionSpec) interactionSpecControl.getMock();
connectionFactory.getRecordFactory();
connectionFactoryControl.setReturnValue(recordFactory, 1);
generator.createRecord(recordFactory);
generatorControl.setReturnValue(inputRecord);
connectionFactory.getConnection();
connectionFactoryControl.setReturnValue(connection);
connection.createInteraction();
connectionControl.setReturnValue(interaction);
creator.createRecord(recordFactory);
creatorControl.setReturnValue(outputRecord);
connectionFactory.getRecordFactory();
connectionFactoryControl.setReturnValue(recordFactory, 1);
interaction.execute(interactionSpec, inputRecord, outputRecord);
interactionControl.setReturnValue(true, 1);