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

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