@SuppressWarnings("unchecked")
@Test
public void testMapParam() throws NoSuchFieldException{
//准备数据
MockHttpServletRequest req = Mock.servlet.request();
req.setParameter("maps(abc).str", "a");
req.setParameter("maps(1).str", "b");
req.setParameter("maps(jk).str", "c");
req.setParameter("maps.jk.maps.nutz.str", "k");
//执行
ObjectNavlPairInjector onpi = inj("maps", NutType.map(String.class, MvcTestPojo.class));
Map<String, MvcTestPojo> pojo = (Map<String, MvcTestPojo>) onpi.get(null, req, null, null);
assertEquals(pojo.get("abc").str, "a");