@Test(expected = RuntimeException.class)
public void testCreateEdgeWithoutFactType() {

  UUID factID = UUID.randomUUID();
  when(getFactManager().getFact(factID)).thenReturn(new FactEntity()
          .setId(factID)
          .setTypeID(UUID.randomUUID())
          .setValue("value")
  );
  new FactEdge(getActGraph(), factID, UUID.randomUUID(), UUID.randomUUID());
}