@Test(expected = ObjectNotFoundException.class)
public void testUpdateObjectTypeNotExisting() throws Exception {

  UpdateObjectTypeRequest request = createRequest();
  when(objectTypeRequestResolver.fetchExistingObjectType(request.getId())).thenThrow(ObjectNotFoundException.class);
  delegate.handle(request);
}