integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyNoRoleBindings(String labelSelectors) throws Exception {
    V1RoleBindingList v1RoleBindingList =
        rbacAuthorizationV1Api.listRoleBindingForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1RoleBindingList.getItems().size(), 0, "Number of role bindings");
  }
/**
   * verify no role bindings.
   * @param labelSelectors label selctors
   * @throws Exception on failure
   */
verify no role bindings.
@param labelSelectors label selctors
@throws Exception on failure
verify no role bindings . @param labelSelectors label selctors @throws Exception on failure
public void verifyNoRoleBindings(String labelSelectors) throws Exception {
    V1RoleBindingList v1RoleBindingList =
        rbacAuthorizationV1Api.listRoleBindingForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1RoleBindingList.getItems().size(), 0, "Number of role bindings");
  }
public void verifyNoRoleBindings ( String labelSelectors ) throws Exception { V1RoleBindingList v1RoleBindingList = rbacAuthorizationV1Api . listRoleBindingForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; assertEquals ( v1RoleBindingList . getItems ( ) . size ( ) , 0 , "Number of role bindings" ) ; }
verify no role bindings.
verify no role bindings .