@Test
public void testUpdateOriginDescription() throws Exception {

  OriginEntity entity = new OriginEntity()
          .setId(UUID.randomUUID());
  UpdateOriginRequest request = new UpdateOriginRequest()
          .setId(entity.getId())
          .setDescription("updated");
  when(originResolver.apply(entity.getId())).thenReturn(entity);
  delegate.handle(request);
  verify(originManager).saveOrigin(argThat(origin -> Objects.equals(request.getDescription(), origin.getDescription())));
}