@Test
public void testUpdateOriginCallsConverter() throws Exception {

  OriginEntity entity = new OriginEntity()
          .setId(UUID.randomUUID());
  when(originResolver.apply(entity.getId())).thenReturn(entity);
  when(originManager.saveOrigin(entity)).thenReturn(entity);
  delegate.handle(new UpdateOriginRequest().setId(entity.getId()));
  verify(originManager).saveOrigin(entity);
  verify(originResponseConverter).apply(entity);
}