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

  com.google.ads.googleads.v5.services.BillingSetupName resourceName2 =
      com.google.ads.googleads.v5.services.BillingSetupName.of("[CUSTOMER]", "[BILLING_SETUP]");
  BillingSetup expectedResponse =
      BillingSetup.newBuilder().setResourceName(resourceName2.toString()).build();
  mockBillingSetupService.addResponse(expectedResponse);
  BillingSetupName resourceName = BillingSetupName.of("[CUSTOMER]", "[BILLING_SETUP]");
  BillingSetup actualResponse = client.getBillingSetup(resourceName);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockBillingSetupService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GetBillingSetupRequest actualRequest = (GetBillingSetupRequest) actualRequests.get(0);
  Assert.assertEquals(resourceName, BillingSetupName.parse(actualRequest.getResourceName()));
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}