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

  UUID id = UUID.randomUUID();
  when(factTypeRequestResolver.fetchExistingFactType(id)).thenThrow(ObjectNotFoundException.class);
  delegate.handle(new UpdateFactTypeRequest().setId(id));
}