### Question:
ElementFactory { public static Builder builder() { return new Builder(); } private  ElementFactory(ActGraph owner); Edge getEdge(UUID id); Edge createEdge(FactRecord factRecord, UUID sourceId); Vertex getVertex(UUID id); static Builder builder();  }### Answer:
@Test public void testCreateElementFactoryWithoutOwner() { assertThrows(RuntimeException.class, () -> ElementFactory.builder().build()); }