@Test
public void testFetchExistingObjectTypeFailsWhenMissing(){

  ObjectNotFoundException ex = assertThrows(ObjectNotFoundException.class, () -> resolver.fetchExistingObjectType(UUID.randomUUID()));
  assertEquals("object.type.not.exist", ex.getMessageTemplate());
}