@Test
public void testConvertFactBothSourceAndDestination() {

  ObjectRecord source = new ObjectRecord().setId(UUID.randomUUID());
  ObjectRecord destination = new ObjectRecord().setId(UUID.randomUUID());
  FactRecord record = createRecord()
          .setSourceObject(source)
          .setDestinationObject(destination)
          .setBidirectionalBinding(true);
  when(objectResponseConverter.apply(source)).thenReturn(Object.builder().setId(source.getId()).build());
  when(objectResponseConverter.apply(destination)).thenReturn(Object.builder().setId(destination.getId()).build());
  Fact model = converter.apply(record);
  assertModelCommon(record, model);
  assertTrue(model.isBidirectionalBinding());
  assertNotNull(model.getSourceObject());
  assertEquals(source.getId(), model.getSourceObject().getId());
  assertNotNull(model.getDestinationObject());
  assertEquals(destination.getId(), model.getDestinationObject().getId());
}