AttributesTestHelper.createMockAttributes(
LayoutAttributesMock.class, "layout",
"layoutAttributesMock", expectations);
segmentLinkWriterMock =
new SegmentLinkWriterMock("segmentLinkWriterMock",
expectations);
// Connect the mocks up.
// deviceLayoutContextMock.expects.getFormatRendererContext()
// .returns(formatRendererContextMock).any();