Possible fix for event listener
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-dmaap-adapter-bundle / src / test / java / org / onap / appc / adapter / messaging / dmaap / http / TestHttpDmaapProducerImpl.java
index a3d2e3a..01e41a8 100644 (file)
@@ -92,17 +92,6 @@ public class TestHttpDmaapProducerImpl {
         verifyNoMoreInteractions(httpClient, httpResponse, statusLine);
     }
 
-    @Test
-    public void shouldNotPostHttpRequest_whenCredencialsAreNotProvided() {
-
-        httpDmaapProducer.updateCredentials(null, null);
-
-        boolean successful = httpDmaapProducer.post(PARTITION, DATA);
-
-        assertFalse(successful);
-        verifyNoMoreInteractions(httpClient, httpResponse, statusLine);
-    }
-
     @Test
     public void shouldNotBeSuccessful_whenHttpResponseIsOtherThanOk() throws Exception {