Interaction interaction = (Interaction) interactionControl.getMock();
MockControl generatorControl = MockControl.createStrictControl(RecordCreator.class);
RecordCreator generator = (RecordCreator) generatorControl.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();