@Test
public void testGetObjectByIdCallsDelegate() throws Exception {

  ObjectGetDelegate delegate = mock(ObjectGetDelegate.class);
  when(delegateProvider.get(ObjectGetDelegate.class)).thenReturn(delegate);
  GetObjectByIdRequest request = new GetObjectByIdRequest();
  service.getObject(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}