verifyAndResetMocks();
}
private void testMethod_bodyParseException(ServiceTestInvocation testMethod) throws Exception {
Capture<Result> resultCapture = new Capture<Result>();
BodyParseException e = new BodyParseException("TEST MSG");
expect(bodyParser.parse(testMethod.getBody())).andThrow(e);
expect(serializer.serialize(capture(resultCapture), eq(false))).andReturn(serializedResult);
replayMocks();