// Create a mock stream buffer and associated buffer streams that the
// resource migrator will use to copy from step 1 to step 2.
final StreamBufferMock mockStreamBuffer = new StreamBufferMock(
"streamBuffer", expectations);
final InputStreamMock mockBufferInput = new InputStreamMock(
"mockBufferInput", expectations);
final OutputStreamMock mockBufferOutput = new OutputStreamMock(
"mockBufferOutput", expectations);
// ==================================================================