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

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