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

  GenerateReachForecastResponse expectedResponse =
      GenerateReachForecastResponse.newBuilder().build();
  mockReachPlanService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  CampaignDuration campaignDuration = CampaignDuration.newBuilder().build();
  List<PlannedProduct> plannedProducts = new ArrayList<>();
  GenerateReachForecastResponse actualResponse =
      client.generateReachForecast(customerId, campaignDuration, plannedProducts);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockReachPlanService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GenerateReachForecastRequest actualRequest =
      (GenerateReachForecastRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(campaignDuration, actualRequest.getCampaignDuration());
  Assert.assertEquals(plannedProducts, actualRequest.getPlannedProductsList());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}