assertEquals(state, restored);
}
public void testGetPage() {
IPage page = new Page();
page.setId(20);
IState state = new State(0);
state.setAction("/action");
IParameter param = new Parameter("name", "value", false, null, true);
state.addParameter(param);
page.addState(state);
session.addPage("20", page);
// Restore page
IPage restored = session.getPage("20");