The unit tests should be very similar to the *_bad_request tests, witht he only exception that the body should not be valid JSON/XML data. A body containing some random characters would be perfect.
The unit tests should be very similar to the *_bad_request tests, witht he only exception that the body should not be valid JSON/XML data. A body containing some random characters would be perfect.