#2 MockHttpServletRequest getHeader() not API compliant
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