}
@Test
public void testParamsRemoveStartWith() {
mockRequestAndResponse();
Params params = new Params();
params.put("param1", "test");
params.put("param1.test", "test2");
params.put("param1.object", "obj");
params.put("param1.object.param1", "param1");
params.put("param1.object.param2", "param2");
params.put("param1.object.param2.3", "param3");
assertEquals(6, params.all().size());
params.removeStartWith("param1.object");
assertTrue(params._contains("param1"));
assertTrue(params._contains("param1.test"));
assertFalse(params._contains("param1.object"));
assertFalse(params._contains("param1.object.param1"));
assertFalse(params._contains("param1.object.param2"));
assertFalse(params._contains("param1.object.param2.3"));
assertEquals(2, params.all().size());
}