* 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"));
+ }
}