This commit is contained in:
2025-08-27 19:58:13 +08:00
parent bca48cb584
commit e5e25edf2d

View File

@@ -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<String, Object> map1 = Maps.of("key", "value")
.setChild("options.aaa", 1);
Assert.assertEquals(1, ((Map<?, ?>) map1.get("options")).get("aaa"));
System.out.println(map1);
}
}