integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyPvs(String labelSelectors, int expected) throws Exception {
    V1PersistentVolumeList v1PersistentVolumeList =
        coreV1Api.listPersistentVolume(
            Boolean.FALSE.toString(),
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1PersistentVolumeList.getItems().size(), expected, "Number of PVs");
  }
/**
   * verify PV's.
   * @param labelSelectors label selectors
   * @param expected number expected
   * @throws Exception on failure
   */
verify PV's.
@param labelSelectors label selectors
@param expected number expected
@throws Exception on failure
verify PV ' s . @param labelSelectors label selectors @param expected number expected @throws Exception on failure
public void verifyPvs(String labelSelectors, int expected) throws Exception {
    V1PersistentVolumeList v1PersistentVolumeList =
        coreV1Api.listPersistentVolume(
            Boolean.FALSE.toString(),
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1PersistentVolumeList.getItems().size(), expected, "Number of PVs");
  }
public void verifyPvs ( String labelSelectors , int expected ) throws Exception { V1PersistentVolumeList v1PersistentVolumeList = coreV1Api . listPersistentVolume ( Boolean . FALSE . toString ( ) , Boolean . FALSE , null , null , labelSelectors , null , null , null , Boolean . FALSE ) ; assertEquals ( v1PersistentVolumeList . getItems ( ) . size ( ) , expected , "Number of PVs" ) ; }
verify PV's.
verify PV ' s .