diff --git a/agents-flex-core/src/test/java/com/agentsflex/core/test/util/MapsTest.java b/agents-flex-core/src/test/java/com/agentsflex/core/test/util/MapsTest.java new file mode 100644 index 0000000..860ec64 --- /dev/null +++ b/agents-flex-core/src/test/java/com/agentsflex/core/test/util/MapsTest.java @@ -0,0 +1,19 @@ +package com.agentsflex.core.test.util; + +import com.agentsflex.core.util.Maps; +import org.junit.Assert; +import org.junit.Test; + +import java.util.Map; + +public class MapsTest { + + @Test + public void testMaps() { + Map map1 = Maps.of("key", "value") + .setChild("options.aaa", 1); + + Assert.assertEquals(1, ((Map) map1.get("options")).get("aaa")); + System.out.println(map1); + } +}