@Test
public void testCreateEdgeWithProperties() {

  FactTypeStruct factTypeMock = mockFactType();
  ObjectTypeStruct objectTypeMock = mockObjectType();
  ObjectRecord objectA = mockObject(objectTypeMock);
  ObjectRecord objectB = mockObject(objectTypeMock);
  FactRecord factRecord = new FactRecord()
          .setId(UUID.randomUUID())
          .setTypeID(factTypeMock.getId())
          .setBidirectionalBinding(true)
          .setDestinationObject(objectA)
          .setSourceObject(objectB);
  elementFactory.createEdge(factRecord, objectA.getId());
  verify(propertyHelper).getFactProperties(factRecord, actGraph.getTraverseParams());
}