Extra mock functionality for new unit tests.

This commit is contained in:
Ben Alex 2004-05-24 00:02:09 +00:00
parent 3f6961d855
commit 369ea24215

View File

@ -226,7 +226,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
} }
public String getRemoteAddr() { public String getRemoteAddr() {
throw new UnsupportedOperationException("mock method not implemented"); return "127.0.0.1";
} }
public String getRemoteHost() { public String getRemoteHost() {