AAI-1523 Batch reformat aai-core
[aai/aai-common.git] / aai-core / src / test / java / org / onap / aai / serialization / db / EdgePropertyMapTest.java
index 2f3854e..9109782 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.serialization.db;
 
-import org.junit.Test;
+import static org.junit.Assert.assertEquals;
 
 import java.util.Map;
 
-import static org.junit.Assert.assertEquals;
+import org.junit.Test;
 
 public class EdgePropertyMapTest {
 
-       @Test
-       public void run() {
-               Map<String, String> map = new EdgePropertyMap<>();
-               map.put("direction", "OUT");
-               map.put("test", "hello");
-               map.put("isParent", "${direction}");
-               map.put("SVC-INFRA", "!${direction}");
-               
-               assertEquals("normal retrieval", "hello", map.get("test"));
-               assertEquals("variable retrieval", "OUT", map.get("isParent"));
-               assertEquals("negate variable retrieval", "IN", map.get("SVC-INFRA"));
-       }
+    @Test
+    public void run() {
+        Map<String, String> map = new EdgePropertyMap<>();
+        map.put("direction", "OUT");
+        map.put("test", "hello");
+        map.put("isParent", "${direction}");
+        map.put("SVC-INFRA", "!${direction}");
+
+        assertEquals("normal retrieval", "hello", map.get("test"));
+        assertEquals("variable retrieval", "OUT", map.get("isParent"));
+        assertEquals("negate variable retrieval", "IN", map.get("SVC-INFRA"));
+    }
 }