Hello,
I Have the following code :
public void beginDoFLow(ServletTestRequest theRequest) {
theRequest.addParameter("NEXT","order/ord.jsp");
}
public void testDoFlow() {
try
{
IsabelPageControllerTest servlet = new IsabelPageControllerTest();
String url = servlet.doFlow(request, response);
assertEquals("order/ord.jsp", (String)session.getValue("NEXT"));
assertEquals("/en/order/ord.jsp",url);
}
catch(Throwable e)
{
System.out.println(e.toString());
}
}
and have the following error :
junit.framework.AssertionFailedError: expected:<order/ord.jsp> but was:<null>
Someone can help me ?
Fabien