@Test
public void testCreateMissingObjectFailsOnMissingObjectType() {

  try {
    resolver.resolveObject("ObjectType/ObjectValue");
    fail();
  } catch (InvalidArgumentException ex) {
    assertEquals("object.type.not.exist", ex.getValidationErrors().iterator().next().getMessageTemplate());
    verify(objectFactDao, never()).storeObject(any());
  }
}