@Test
public void testSaveAndGetObjectByTypeValue() {

  ObjectTypeEntity type = createAndSaveObjectType();
  ObjectEntity object = createAndSaveObject(type.getId());
  assertObject(object, getObjectManager().getObject(type.getName(), object.getValue()));
}