@Test
public void testGetEdgeCached() {

  ObjectFactBindingEntity inBinding = createInBinding(Direction.BiDirectional);
  FactEntity.FactObjectBinding outBinding = createOutBinding(Direction.BiDirectional);
  Edge first = mockAndRunCreateEdges(inBinding, outBinding);
  Edge second = elementFactory.getEdge((UUID) first.id());
  assertSame(first, second);
}