It's currently impossible to remove objects from the mock session.

MockHttpSession.java line 94

  |   public void setAttribute(String att, Object value)
  |    {
  |       if (value==null)
  |       {
  |          attributes.remove(value);
  |       }
  | 

should be

  |   public void setAttribute(String att, Object value)
  |    {
  |       if (value==null)
  |       {
  |          attributes.remove(att);
  |       }
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070932#4070932

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070932
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to