final FragmentInstanceMock fragmentInstanceMock =
new FragmentInstanceMock("fragmentInstanceMock", expectations,
NDimensionalIndex.ZERO_DIMENSIONS);
final FragmentMock enclosingMock = LayoutTestHelper.createFragmentMock(
"enclosingMock", expectations, canvasLayoutMock);
final FragmentMock fragmentMock = LayoutTestHelper.createFragmentMock(
"fragmentMock", expectations, canvasLayoutMock);
final FragmentMock peerMock = LayoutTestHelper.createFragmentMock(
"peerMock", expectations, canvasLayoutMock);
// Connect the fragments together.
FormatMock.Expects[] children = new FormatMock.Expects[] {
fragmentMock.expects,