@@ -0,0 +1,1719 @@
+/*%0A * Copyright 2021 Google LLC%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      https://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.google.cloud.iam.admin.v1.it;%0A%0Aimport com.google.cloud.iam.admin.v1.IAMClient;%0Aimport com.google.iam.admin.v1.ProjectName;%0Aimport com.google.iam.admin.v1.ServiceAccount;%0Aimport org.junit.AfterClass;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0Aimport static org.junit.Assume.assumeNotNull;%0A%0Aimport java.io.IOException;%0A%0Apublic class ITSystemTest %7B%0A  private static IAMClient client;%0A  private static String PROJECT_ID = System.getenv(%22GOOGLE_CLOUD_PROJECT%22);%0A%0A  @BeforeClass%0A  public static void setUp() throws IOException %7B%0A    client = IAMClient.create();%0A  %7D%0A%0A  @AfterClass%0A  public static void tearDown() %7B%0A    client.close();%0A  %7D%0A%0A  @Test%0A  public void listServiceAccounts() %7B%0A    assumeNotNull(PROJECT_ID);%0A%0A    int count = 0;%0A    for (ServiceAccount serviceAccount : client.listServiceAccounts(ProjectName.of(PROJECT_ID)).iterateAll()) %7B%0A      assertEquals(PROJECT_ID, serviceAccount.getProjectId());%0A      count += 1;%0A    %7D%0A    assertTrue(%22Expected to get at least one service account%22, count %3E 0);%0A  %7D%0A%7D%0A

add smoke test