integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyNoDeployments(String labelSelectors) throws Exception {
    V1DeploymentList v1DeploymentList =
        appsV1Api.listDeploymentForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1DeploymentList.getItems().size(), 0, "No deployments");
  }
/**
   * verify no deployments.
   * @param labelSelectors label selectors
   * @throws Exception on failure
   */
verify no deployments.
@param labelSelectors label selectors
@throws Exception on failure
verify no deployments . @param labelSelectors label selectors @throws Exception on failure
public void verifyNoDeployments(String labelSelectors) throws Exception {
    V1DeploymentList v1DeploymentList =
        appsV1Api.listDeploymentForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1DeploymentList.getItems().size(), 0, "No deployments");
  }
public void verifyNoDeployments ( String labelSelectors ) throws Exception { V1DeploymentList v1DeploymentList = appsV1Api . listDeploymentForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; assertEquals ( v1DeploymentList . getItems ( ) . size ( ) , 0 , "No deployments" ) ; }
verify no deployments.
verify no deployments .