@Test
@SuppressWarnings("all")
public void createOfflineUserDataJobTest() {

  String resourceName = "resourceName979421212";
  CreateOfflineUserDataJobResponse expectedResponse =
      CreateOfflineUserDataJobResponse.newBuilder().setResourceName(resourceName).build();
  mockOfflineUserDataJobService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  OfflineUserDataJob job = OfflineUserDataJob.newBuilder().build();
  CreateOfflineUserDataJobResponse actualResponse =
      client.createOfflineUserDataJob(customerId, job);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockOfflineUserDataJobService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  CreateOfflineUserDataJobRequest actualRequest =
      (CreateOfflineUserDataJobRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(job, actualRequest.getJob());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}