Package org.slim3.util

Examples of org.slim3.util.RequestMap.keySet()


    @Test
    public void asMap() throws Exception {
        tester.request.setAttribute("aaa", "aiueo");
        tester.request.setAttribute("bbb", "12345");
        RequestMap map = controller.asMap();
        assertThat(map.keySet().size(), is(2));
        assertThat((String)map.get("aaa"), is("aiueo"));
        assertThat((String)map.get("bbb"), is("12345"));
    }
   
    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.