integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyPvcs(String labelSelectors, int expected) throws Exception {
    V1PersistentVolumeClaimList v1PersistentVolumeClaimList =
        coreV1Api.listPersistentVolumeClaimForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    // TODO verify {domainUID}-weblogic-sample-pvc
    assertEquals(v1PersistentVolumeClaimList.getItems().size(), expected, "Number of PVCs");
  }
/**
   * verify PVC's.
   * @param labelSelectors label selectors
   * @param expected expected count
   * @throws Exception on failure
   */
verify PVC's.
@param labelSelectors label selectors
@param expected expected count
@throws Exception on failure
verify PVC ' s . @param labelSelectors label selectors @param expected expected count @throws Exception on failure
public void verifyPvcs(String labelSelectors, int expected) throws Exception {
    V1PersistentVolumeClaimList v1PersistentVolumeClaimList =
        coreV1Api.listPersistentVolumeClaimForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1PersistentVolumeClaimList.getItems().size(), expected, "Number of PVCs");
  }
public void verifyPvcs ( String labelSelectors , int expected ) throws Exception { V1PersistentVolumeClaimList v1PersistentVolumeClaimList = coreV1Api . listPersistentVolumeClaimForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; assertEquals ( v1PersistentVolumeClaimList . getItems ( ) . size ( ) , expected , "Number of PVCs" ) ; }
verify PVC's.
verify PVC ' s .
// TODO verify {domainUID}-weblogic-sample-pvc