String stateId = dataComposer.endRequest();
dataComposer.endPage();
assertNotNull(stateId);
IState state = this.stateUtil.restoreState(stateId);
assertEquals("test.do", state.getAction());
IParameter param = state.getParameter("parameter1");
List<String> values = param.getValues();
assertEquals(1, values.size());
assertEquals("è-test", values.get(0));// escaped value is the same
IParameter param2 = state.getParameter("parameterEscaped");
List<String> values2 = param2.getValues();
assertEquals(1, values2.size());
// State stored value is not escaped value, it is the unescaped value
assertEquals("è-test", values2.get(0));
}