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

  com.google.ads.googleads.v5.services.SharedSetName resourceName2 =
      com.google.ads.googleads.v5.services.SharedSetName.of("[CUSTOMER]", "[SHARED_SET]");
  long id = 3355L;
  com.google.ads.googleads.v5.services.SharedSetName name =
      com.google.ads.googleads.v5.services.SharedSetName.of("[CUSTOMER]", "[SHARED_SET]");
  long memberCount = 59350230L;
  long referenceCount = 1214713627L;
  SharedSet expectedResponse =
      SharedSet.newBuilder()
          .setResourceName(resourceName2.toString())
          .setId(id)
          .setName(name.toString())
          .setMemberCount(memberCount)
          .setReferenceCount(referenceCount)
          .build();
  mockSharedSetService.addResponse(expectedResponse);
  SharedSetName resourceName = SharedSetName.of("[CUSTOMER]", "[SHARED_SET]");
  SharedSet actualResponse = client.getSharedSet(resourceName);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockSharedSetService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GetSharedSetRequest actualRequest = (GetSharedSetRequest) actualRequests.get(0);
  Assert.assertEquals(resourceName, SharedSetName.parse(actualRequest.getResourceName()));
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}