From fde59c2f29bb928f3690369183add4619c1c9e6b Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Sat, 30 Oct 2004 23:32:53 +0000 Subject: [PATCH] Ad mock method implementation now we're using HttpSession.removeAttribute(). --- core/src/test/java/org/acegisecurity/MockHttpSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/acegisecurity/MockHttpSession.java b/core/src/test/java/org/acegisecurity/MockHttpSession.java index 8c55108ce9..057a6e0fff 100644 --- a/core/src/test/java/org/acegisecurity/MockHttpSession.java +++ b/core/src/test/java/org/acegisecurity/MockHttpSession.java @@ -99,7 +99,7 @@ public class MockHttpSession implements HttpSession { } public void removeAttribute(String arg0) { - throw new UnsupportedOperationException("mock method not implemented"); + map.remove(arg0); } public void removeValue(String arg0) {