integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyNoRoles(String labelSelectors) throws Exception {
    V1RoleList v1RoleList =
        rbacAuthorizationV1Api.listRoleForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1RoleList.getItems().size(), 0, "Number of roles");
  }
/**
   * verify no roles.
   * @param labelSelectors label selectors.
   * @throws Exception on failure
   */
verify no roles.
@param labelSelectors label selectors.
@throws Exception on failure
verify no roles . @param labelSelectors label selectors . @throws Exception on failure
public void verifyNoRoles(String labelSelectors) throws Exception {
    V1RoleList v1RoleList =
        rbacAuthorizationV1Api.listRoleForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1RoleList.getItems().size(), 0, "Number of roles");
  }
public void verifyNoRoles ( String labelSelectors ) throws Exception { V1RoleList v1RoleList = rbacAuthorizationV1Api . listRoleForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; assertEquals ( v1RoleList . getItems ( ) . size ( ) , 0 , "Number of roles" ) ; }
verify no roles.
verify no roles .