@Test
public void testGetVertexCached() {

  ObjectTypeStruct objectTypeMock = mockObjectType();
  ObjectRecord objectSource = mockObject(objectTypeMock);
  UUID objectID = objectSource.getId();
  Vertex first = elementFactory.getVertex(objectID);
  Vertex second = elementFactory.getVertex(objectID);
  assertSame(first, second);
}