@Test
public void testStoreFactSavesMetaFactBindings() {

  FactEntity entity = new FactEntity()
          .setId(UUID.randomUUID())
          .setInReferenceToID(UUID.randomUUID());
  when(factRecordConverter.toEntity(notNull())).thenReturn(entity);
  dao.storeFact(new FactRecord());
  verify(factManager).saveMetaFactBinding(argThat(b -> {
    assertEquals(entity.getInReferenceToID(), b.getFactID());
    assertEquals(entity.getId(), b.getMetaFactID());
    return true;
  }));
}