integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyNoServiceAccounts(String labelSelectors) throws Exception {
    V1ServiceAccountList v1ServiceAccountList =
        coreV1Api.listServiceAccountForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1ServiceAccountList.getItems().size(), 0, "Number of service accounts");
  }
/**
   * verify no service accounts.
   * @param labelSelectors label selectors
   * @throws Exception on failure
   */
verify no service accounts.
@param labelSelectors label selectors
@throws Exception on failure
verify no service accounts . @param labelSelectors label selectors @throws Exception on failure
public void verifyNoServiceAccounts(String labelSelectors) throws Exception {
    V1ServiceAccountList v1ServiceAccountList =
        coreV1Api.listServiceAccountForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1ServiceAccountList.getItems().size(), 0, "Number of service accounts");
  }
public void verifyNoServiceAccounts ( String labelSelectors ) throws Exception { V1ServiceAccountList v1ServiceAccountList = coreV1Api . listServiceAccountForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; assertEquals ( v1ServiceAccountList . getItems ( ) . size ( ) , 0 , "Number of service accounts" ) ; }
verify no service accounts.
verify no service accounts .