@Test
  public void existsStyleTestRest() throws Exception {
    super.mockExistsStyle();

    Assert.assertTrue(
        PublisherRSServerUtils.gpPublisherClient.existsStyle("STYLE_MOCK_MOCKITO_TEST"));
  }
  @Test
  public void publishAllofPreviewTestRest() throws Exception {
    super.mockPublishAllofPreview();

    Assert.assertTrue(
        PublisherRSServerUtils.gpPublisherClient.publishAllofPreview(
            new PublishRequest("487538hghghewrwr", "WORKSPACE_MOCK_TEST", "DATA_STORE_MOCK_TEST")));
  }
  @Test
  public void putStyleTestRest() throws Exception {
    super.mockPutStyle();

    Assert.assertTrue(
        PublisherRSServerUtils.gpPublisherClient.updateStyle(
            "STYLE_MOCK_TEST", "STYLE_NAME_MOCK", Boolean.TRUE));
  }
  @Test
  public void publishStyleTestRest() throws Exception {
    super.mockPublishStyle();

    Assert.assertTrue(
        PublisherRSServerUtils.gpPublisherClient.publishStyle(
            "STYLE_MOCK_MOCKITO", "STYLE_MOCK_MOCKITO", Boolean.FALSE));
  }
  @Test
  public void loadStyleTestRest() throws Exception {
    super.mockLoadStyle();

    String styleLoaded =
        PublisherRSServerUtils.gpPublisherClient.loadStyle(
            "LAYER_DATA_SOURCE_MOCK", "LAYER_NAME_MOCK");

    Assert.assertEquals("MOCK_STYLE_TEST_LOADED", styleLoaded);
  }
  @Test
  public void processEPSGResultTestRest() throws Exception {
    super.mockProcessEPSGResult();

    InfoPreviewStore previewStore =
        PublisherRSServerUtils.gpPublisherClient.processEPSGResult(new ProcessEPSGResultRequest());

    Assert.assertEquals(37, previewStore.getInfoPreviews().size());

    logger.debug(
        "\n\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ processEPSGResult " + "{}\n\n", previewStore);
  }
  @Test
  public void publishTestRest() throws Exception {
    super.mockPublish();

    Assert.assertTrue(
        PublisherRSServerUtils.gpPublisherClient.publish(
            new PublishLayerRequest(
                "7" + "364736sdfdsufhiuf",
                "WORKSPACE_MOCK",
                "DATA_STORE_MOCK",
                "LAYER_NAME_MOCK")));
  }
  @Test
  public void getPreviewDataStoresTestRest() throws Exception {
    super.mockGetPreviewDataStores();

    InfoPreviewStore previewStore =
        PublisherRSServerUtils.gpPublisherClient.getPreviewDataStores("USER_MOCK_MOKITO");

    Assert.assertNotNull(previewStore);
    Assert.assertEquals(15, previewStore.getInfoPreviews().size());

    logger.debug("\n\t@@@@@@@@@@@@@@@@@@@@@@@@@ getPreviewDataStores : " + "{}\n\n", previewStore);
  }
  @Test
  public void describeFeatureTypeTestRest() throws Exception {
    super.mockDescribeFeatureType();

    LayerAttributeStore layerAttributeStore =
        PublisherRSServerUtils.gpPublisherClient.describeFeatureType("LAYER_NAME_MOCK_TEST");

    Assert.assertEquals(40, layerAttributeStore.getLayerAttributes().size());

    logger.debug(
        "\n\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ describeFeatureType " + "{}\n\n",
        layerAttributeStore);
  }
  @Test
  public void analyzeZIPEPSGTestRest() throws Exception {
    super.mockAnalyzeZIPEPSG();

    InfoPreviewStore previewStore =
        PublisherRSServerUtils.gpPublisherClient.analyzeZIPEPSG(
            "http://*****:*****@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ analyzeZIPEPSG " + "{}\n\n", previewStore);
  }
  @Test
  public void analyzeTIFInPreviewTestRest() throws Exception {
    super.mockAnalyzeTIFInPreview();

    InfoPreview preview =
        PublisherRSServerUtils.gpPublisherClient.analyzeTIFInPreview(
            "jdshfjsdfhsjfh",
            new File(
                new File(".").getCanonicalPath()
                    + File.separator
                    + "src/test/resources/logback-test.xml"),
            Boolean.TRUE,
            null);

    Assert.assertNotNull(preview);
    Assert.assertEquals("DATA_STORE_MOCK_MOKITO", preview.getDataStoreName());
    Assert.assertEquals("MESSAGE_MOCK_MOKITO", preview.getMessage());

    logger.debug("\n\t@@@@@@@@@@@@@@@@@@@@@@@@@ analyzeTIFInPreview : " + "{}\n\n", preview);
  }