protected void setUp() throws Exception {
expectations = mockFactory.createUnorderedBuilder();
//Create mocks which are common to initialization of ResourceMigratorBuilder
mockCoreFactory = new CoreFactoryMock("core factory", expectations);
mockGraphFactory = new GraphFactoryMock("graph factory", expectations);
mockRecogniserFactory =
new RecogniserFactoryMock("recogniser factory", expectations);
mockStreamBufferFactory =
new StreamBufferFactoryMock("stream buffer factory", expectations);