@Test
public void testToDocumentWithSourceObject() {

  ObjectRecord objectRecord = createObjectRecord();
  FactRecord factRecord = new FactRecord().setSourceObject(objectRecord);
  FactDocument factDocument = converter.toDocument(factRecord);
  assertEquals(1, factDocument.getObjects().size());
  assertObjectDocument(objectRecord, factDocument.getObjects().iterator().next(), ObjectDocument.Direction.FactIsDestination);
}