Reduce the number of problems in aai-common by removing unused imports
[aai/aai-common.git] / aai-els-onap-logging / src / test / java / org / onap / aai / logging / LoggingContextTest.java
index 4fe6031..d793eb7 100644 (file)
 
 package org.onap.aai.logging;
 
-import org.junit.After;
-import org.junit.Test;
-import org.slf4j.MDC;
+import static org.junit.Assert.*;
 
 import java.util.concurrent.TimeUnit;
 
-import static org.junit.Assert.*;
+import org.junit.After;
+import org.junit.Test;
+import org.slf4j.MDC;
 
 public class LoggingContextTest {
 
     @After
-    public void cleanup(){
+    public void cleanup() {
         MDC.clear();
     }
+
     @Test
     public void elapsedTimeTest() {
         LoggingContext.elapsedTime(300, TimeUnit.MILLISECONDS);
@@ -41,6 +42,7 @@ public class LoggingContextTest {
         LoggingContext.init();
         assertNull(MDC.get(LoggingContext.LoggingField.ELAPSED_TIME.toString()));
     }
+
     @Test
     public void stopWatchTest() {
         LoggingContext.init();
@@ -53,6 +55,7 @@ public class LoggingContextTest {
         assertFalse(LoggingContext.isStopWatchStarted());
         assertTrue(elapsedTime > 0);
     }
+
     @Test
     public void putClearTest() {
         String testServiceName = "TEST-SVC-NAME";