Buggy code:
public class JSONPostITest extends WithJetty { @ Test public void simpleJSONAndHamcrestMatcher ( ) throws Exception { } @ Test public void parametersAcceptsIntArguments ( ) throws Exception { } @ Test public void formParametersAcceptsIntArguments ( ) throws Exception { } @ Test public void formParamsAcceptsIntArguments ( ) throws Exception { } @ Test public void formParamAcceptsIntArguments ( ) throws Exception { } @ Test public void bodyWithSingleHamcrestMatching ( ) throws Exception { } @ Test public void bodyWithSingleHamcrestMatchingUsingPathParams ( ) throws Exception { } @ Test public void bodyHamcrestMatcherWithoutKey ( ) throws Exception { } @ Test public void usingRequestSpecWithParamsWorksWithPost ( ) throws Exception { } @ Test public void requestContentType ( ) throws Exception { } @ Test public void uriNotFoundTWhenPost ( ) throws Exception { <START_BUG> expect ( ) . statusCode ( 404 ) . and ( ) . body ( equalTo ( "Not<seq2seq4repair_space>found" ) ) . when ( ) . post ( "//lotto" ) ; <END_BUG> } @ Test public void requestSpecificationAllowsSpecifyingHeaders ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingStringBodyForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingJsonBodyForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingStringForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingIntForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingFloatForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingDoubleForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingShortForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingBooleanForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingJsonContentForPost ( ) throws Exception { } @ Test public void allowsSpecifyingDefaultRequestContentType ( ) throws Exception { } @ Test public void allowsSpecifyingDefaultRequestContentTypeAsString ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingJsonBodyAsStringForPost ( ) throws Exception { } @ Test public void responseSpecificationAllowsSpecifyingJsonBodyForPost ( ) throws Exception { } @ Test public void responseSpecificationAllowsSpecifyingJsonBodyAsStringForPost ( ) throws Exception { } @ Test public void multiValueParametersSupportsAppendingWhenPassingInList ( ) throws Exception { } @ Test public void allowsSpecifyingDefaultResponseContentType ( ) throws Exception { } @ Test public void allowsSpecifyingDefaultResponseContentTypeAsString ( ) throws Exception { } @ Test public void supportsReturningPostBody ( ) throws Exception { } @ Test public void supportsGettingResponseBodyWhenStatusCodeIs401 ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingBinaryBodyForPost ( ) throws Exception { } @ Test public void requestSpecificationWithContentTypeOctetStreamAllowsSpecifyingBinaryBodyForPost ( ) throws Exception { } @ Test public void requestSpecificationAllowsSpecifyingCookie ( ) throws Exception { } }

Fix:
expect ( ) . statusCode ( greaterThanOrEqualTo ( 400 ) ) . when ( ) . post ( "//lotto" ) ;