@Test
public void testMatchesDirectionIgnoresOneLeggedFacts() {

  ObjectRecord objectA = new ObjectRecord().setId(UUID.randomUUID());
  // fact ---> objectA
  FactRecord loopFact = new FactRecord()
          .setId(UUID.randomUUID())
          .setDestinationObject(objectA);
  assertFalse(ObjectVertex.matchesDirection(loopFact, objectA, OUT));
  assertFalse(ObjectVertex.matchesDirection(loopFact, objectA, IN));
  assertFalse(ObjectVertex.matchesDirection(loopFact, objectA, BOTH));
}