@Test
public void testTestIamPermissions() throws Exception {

  TestIamPermissionsRequest request =
      TestIamPermissionsRequest.newBuilder().setResource(TABLE_NAME).build();
  setResponse(TestIamPermissionsResponse.getDefaultInstance());
  defaultClient.testIamPermissions(request);
  verifyRequestCalled(request);
}