@Test
public void testFetchObjectTypes() {

  List<ObjectTypeEntity> expected = createAndSaveObjectTypes(3);
  List<ObjectTypeEntity> actual = getObjectManager().fetchObjectTypes();
  expected.sort(Comparator.comparing(ObjectTypeEntity::getId));
  actual.sort(Comparator.comparing(ObjectTypeEntity::getId));
  assertObjectTypes(expected, actual);
}