verify(reference1, reference2, context);
}
@Test
public void testDocumentation() {
StringBuilderDocument document = new StringBuilderDocument();
expect(reference1.getReferenceContext()).andReturn(context);
expect(reference2.getReferenceContext()).andReturn(context);
expect(reference3.getReferenceContext()).andReturn(context);
expect(reference1.getType()).andReturn(String.class);
expect(reference2.getType()).andReturn(String.class);
expect(reference3.getType()).andReturn(String.class);
reference1.document(document);
reference2.document(document);
reference3.document(document);
replay(reference1, reference2, reference3);
MultiReference multi = new MultiReference(reference1, reference2, reference3);
multi.document(document);
System.out.println(document.toString());
verify(reference1, reference2, reference3);
}