@Test
public void testSaveAndFetchObjectFactBindings() {

  ObjectEntity object = createAndSaveObject(createAndSaveObjectType().getId());
  ObjectFactBindingEntity binding = createAndSaveObjectFactBinding(object.getId());
  List<ObjectFactBindingEntity> actual = ListUtils.list(getObjectManager().fetchObjectFactBindings(object.getId()));
  assertEquals(1, actual.size());
  assertObjectFactBinding(binding, actual.get(0));
}