### Question:
ObjectVertex implements Vertex { public ObjectEntity getObject() { return object; } ObjectVertex(ActGraph graph, UUID objectID); @Override Edge addEdge(String label, Vertex inVertex, Object... keyValues); @Override Iterator<Edge> edges(Direction direction, String... edgeLabels); @Override Iterator<Vertex> vertices(Direction direction, String... edgeLabels); @Override Iterator<VertexProperty<V>> properties(String... propertyKeys); @Override VertexProperty<V> property(VertexProperty.Cardinality cardinality, String key, V value, Object... keyValues); @Override Object id(); @Override String label(); @Override Graph graph(); @Override void remove(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); ObjectEntity getObject();  }### Answer:
@Test(expected = RuntimeException.class) public void testCreateVertexWithoutObjectType() { UUID objectID = UUID.randomUUID(); when(getObjectManager().getObject(objectID)).thenReturn(new ObjectEntity() .setId(objectID) .setTypeID(UUID.randomUUID()) .setValue("value") ); new ObjectVertex(getActGraph(), objectID); }