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

  GenerateForecastCurveResponse expectedResponse =
      GenerateForecastCurveResponse.newBuilder().build();
  mockKeywordPlanService.addResponse(expectedResponse);
  String keywordPlan = "keywordPlan-1589809217";
  GenerateForecastCurveResponse actualResponse = client.generateForecastCurve(keywordPlan);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockKeywordPlanService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GenerateForecastCurveRequest actualRequest =
      (GenerateForecastCurveRequest) actualRequests.get(0);
  Assert.assertEquals(keywordPlan, actualRequest.getKeywordPlan());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}