From: <gma...@cl...> - 2003-08-16 14:13:52
|
Hello, I'm new to mockobjects, so I may have got something wrong. In MockHttpServletRequest version 1.18 (J2EE 1.3), the getHeader() method should not throw an AssertFailError when the requested header is not present because the javadoc for this method says: If the request did not include a header of the specified name, this method returns null. So, with the current behavior I cannot test my code error handling when request.getHeader() returns null on not existing header. Or maybe there is a way to disable this assertion checking? Thanks for any help Ga=EBl |