integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyServices(String labelSelectors, int expected) throws Exception {
    // Verify services
    V1ServiceList v1ServiceList =
        coreV1Api.listServiceForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    /*
     * TODO verify name pattern {domainUID}-admin-server {domainUID}-admin-server-external
     * {domainUID}-cluster-cluster-1 {domainUID}-managed-server1 {domainUID}-managed-server2
     */
    assertEquals(v1ServiceList.getItems().size(), expected, "Number of services");
  }
/**
   * verify services.
   * @param labelSelectors label selectors
   * @param expected expected count
   * @throws Exception on failure
   */
verify services.
@param labelSelectors label selectors
@param expected expected count
@throws Exception on failure
verify services . @param labelSelectors label selectors @param expected expected count @throws Exception on failure
public void verifyServices(String labelSelectors, int expected) throws Exception {
    V1ServiceList v1ServiceList =
        coreV1Api.listServiceForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    /*
     * TODO verify name pattern {domainUID}-admin-server {domainUID}-admin-server-external
     * {domainUID}-cluster-cluster-1 {domainUID}-managed-server1 {domainUID}-managed-server2
     */
    assertEquals(v1ServiceList.getItems().size(), expected, "Number of services");
  }
public void verifyServices ( String labelSelectors , int expected ) throws Exception { V1ServiceList v1ServiceList = coreV1Api . listServiceForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; /*
     * TODO verify name pattern {domainUID}-admin-server {domainUID}-admin-server-external
     * {domainUID}-cluster-cluster-1 {domainUID}-managed-server1 {domainUID}-managed-server2
     */ assertEquals ( v1ServiceList . getItems ( ) . size ( ) , expected , "Number of services" ) ; }
verify services.
verify services .
// Verify services