integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyNoClusterRoles(String domain1Ls) throws Exception {
    V1ClusterRoleList v1ClusterRoleList =
        rbacAuthorizationV1Api.listClusterRole(
            Boolean.FALSE.toString(),
            Boolean.FALSE,
            null,
            null,
            domain1Ls,
            null,
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1ClusterRoleList.getItems().size(), 0, "Number of cluster roles");
  }
/**
   * verify no cluster roles.
   * @param domain1Ls domains
   * @throws Exception on failure
   */
verify no cluster roles.
@param domain1Ls domains
@throws Exception on failure
verify no cluster roles . @param domain1Ls domains @throws Exception on failure
public void verifyNoClusterRoles(String domain1Ls) throws Exception {
    V1ClusterRoleList v1ClusterRoleList =
        rbacAuthorizationV1Api.listClusterRole(
            Boolean.FALSE.toString(),
            Boolean.FALSE,
            null,
            null,
            domain1Ls,
            null,
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1ClusterRoleList.getItems().size(), 0, "Number of cluster roles");
  }
public void verifyNoClusterRoles ( String domain1Ls ) throws Exception { V1ClusterRoleList v1ClusterRoleList = rbacAuthorizationV1Api . listClusterRole ( Boolean . FALSE . toString ( ) , Boolean . FALSE , null , null , domain1Ls , null , null , null , Boolean . FALSE ) ; assertEquals ( v1ClusterRoleList . getItems ( ) . size ( ) , 0 , "Number of cluster roles" ) ; }
verify no cluster roles.
verify no cluster roles .