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

  DismissRecommendationResponse expectedResponse =
      DismissRecommendationResponse.newBuilder().build();
  mockRecommendationService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  List<DismissRecommendationRequest.DismissRecommendationOperation> operations =
      new ArrayList<>();
  DismissRecommendationResponse actualResponse =
      client.dismissRecommendation(customerId, operations);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockRecommendationService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  DismissRecommendationRequest actualRequest =
      (DismissRecommendationRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(operations, actualRequest.getOperationsList());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}