use of com.tvd12.ezyhttp.server.core.request.SimpleRequestArguments in project ezyhttp by youngmonkeys.
the class SimpleRequestArgumentsTest method setParameterMulti.
@Test
public void setParameterMulti() {
// given
SimpleRequestArguments sut = new SimpleRequestArguments();
sut.setParameter("key", new String[] { "a", "b" });
// when
// then
Asserts.assertEquals("a,b", sut.getParameter(0, "paramValue"));
Asserts.assertEquals("a,b", sut.getParameter("key", "paramValue"));
sut.release();
}
Aggregations