Organize Imports to be Checkstyle compliant in utils
[yangtools.git] / common / util / src / test / java / org / opendaylight / yangtools / util / MapAdaptorTest.java
index e4ae622121118a1cc28cb9e2ffe7f4ce1c7390d4..3b0cbb7b586a4b9dbefcccc1d025fcbdb87fd032 100644 (file)
@@ -12,11 +12,11 @@ import static org.junit.Assert.assertNotSame;
 import static org.junit.Assert.assertSame;
 import static org.junit.Assert.assertTrue;
 
+import com.google.common.collect.ImmutableMap;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.TreeMap;
-
 import org.junit.Before;
 import org.junit.Test;
 
@@ -38,10 +38,10 @@ public class MapAdaptorTest {
         assertTrue(snap instanceof HashMap);
 
         final Map<?, ?> opt1 = adaptor.optimize(input);
-        assertSame(Collections.EMPTY_MAP, opt1);
+        assertSame(ImmutableMap.of(), opt1);
 
         final Map<?, ?> opt2 = adaptor.optimize(snap);
-        assertSame(Collections.EMPTY_MAP, opt2);
+        assertSame(ImmutableMap.of(), opt2);
     }
 
     @Test