commiting code for test coverage
[dmaap/messagerouter/msgrtr.git] / src / test / java / com / att / nsa / apiServer / metrics / cambria / DMaaPMetricsSenderTest.java
index 424fa0a..f3f4a5c 100644 (file)
 package com.att.nsa.apiServer.metrics.cambria;\r
 \r
 \r
-import static org.junit.Assert.*;\r
+import static org.junit.Assert.assertTrue;\r
 \r
-import java.io.IOException;\r
-import java.util.concurrent.ScheduledExecutorService;\r
+import java.io.File;\r
 \r
 import org.junit.After;\r
 import org.junit.Before;\r
 import org.junit.Test;\r
 \r
-import com.att.nsa.cambria.CambriaApiException;\r
-import com.att.nsa.cambria.beans.DMaaPContext;\r
-import com.att.nsa.metrics.CdmMetricsRegistry;\r
+import com.att.ajsc.filemonitor.AJSCPropertiesMap;\r
 \r
 public class DMaaPMetricsSenderTest {\r
 \r
        @Before\r
        public void setUp() throws Exception {\r
+               ClassLoader classLoader = getClass().getClassLoader();          \r
+               AJSCPropertiesMap.refresh(new File(classLoader.getResource("MsgRtrApi.properties").getFile()));\r
        }\r
 \r
        @After\r