@Test
public void testFetchFactTypes() {

  List<FactTypeEntity> expected = createAndSaveFactTypes(3);
  List<FactTypeEntity> actual = getFactManager().fetchFactTypes();
  expected.sort(Comparator.comparing(FactTypeEntity::getId));
  actual.sort(Comparator.comparing(FactTypeEntity::getId));
  assertFactTypes(expected, actual);
}