@Test
public void testGetOriginCallsDelegate() throws Exception {

  OriginGetByIdDelegate delegate = mock(OriginGetByIdDelegate.class);
  when(delegateProvider.get(OriginGetByIdDelegate.class)).thenReturn(delegate);
  GetOriginByIdRequest request = new GetOriginByIdRequest();
  service.getOrigin(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}