@Test(expected = IllegalArgumentException.class)
public void testGetObjectByTypeValueWithNonExistingObjectType() {

  ObjectEntity entity = createAndSaveObject(createAndSaveObjectType().getId());
  getObjectManager().getObject("nonExisting", entity.getValue());
}