nus-yam/ex-repair huggingface dataset:
Program: 172445
Project: 172445
Buggy source:
@GET @Path("String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @APIResponses(value={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")}) @Produces("String_Node_Str") public Response getReviewByUser(@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str")),examples={@ExampleObject("String_Node_Str"),@ExampleObject("String_Node_Str")}) @PathParam("String_Node_Str") String user){
  List<Review> reviewsByUser=new ArrayList<Review>();
  for (  Review review : reviews.values()) {
    User currentUser=review.getUser();
    if (currentUser.getUsername() == user) {
      reviewsByUser.add(review);
    }
  }
  if (!reviewsByUser.isEmpty()) {
    return Response.ok().entity(reviewsByUser).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}

Fixed version (ground truth):
@GET @Path("String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @APIResponses(value={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")}) @Produces("String_Node_Str") public Response getReviewByUser(@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(name="String_Node_Str",value="String_Node_Str")),examples={@ExampleObject(name="String_Node_Str",value="String_Node_Str"),@ExampleObject(name="String_Node_Str",value="String_Node_Str")}) @PathParam("String_Node_Str") String user){
  List<Review> reviewsByUser=new ArrayList<Review>();
  for (  Review review : reviews.values()) {
    User currentUser=review.getUser();
    if (currentUser.getUsername() == user) {
      reviewsByUser.add(review);
    }
  }
  if (!reviewsByUser.isEmpty()) {
    return Response.ok().entity(reviewsByUser).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}
Program: 172446
Project: 172446
Buggy source:
@GET @Path("String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class))) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @Produces("String_Node_Str") public Response getReviewByAirlineAndUser(@Parameters(value={@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str"))),@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str")))}) @PathParam("String_Node_Str") String user,@PathParam("String_Node_Str") String airlines){
  List<Review> reviewsByAirlinesUser=new ArrayList<Review>();
  for (  Review review : reviews.values()) {
    Airline currentAirline=review.getAirlines();
    User currentUser=review.getUser();
    if (currentAirline.getName() == airlines && currentUser.getUsername() == user) {
      reviewsByAirlinesUser.add(review);
    }
  }
  if (!reviewsByAirlinesUser.isEmpty()) {
    return Response.ok().entity(reviewsByAirlinesUser).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}

Fixed version (ground truth):
@GET @Path("String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class))) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @Produces("String_Node_Str") public Response getReviewByAirlineAndUser(@Parameters(value={@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(name="String_Node_Str",value="String_Node_Str"))),@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(name="String_Node_Str",value="String_Node_Str")))}) @PathParam("String_Node_Str") String user,@PathParam("String_Node_Str") String airlines){
  List<Review> reviewsByAirlinesUser=new ArrayList<Review>();
  for (  Review review : reviews.values()) {
    Airline currentAirline=review.getAirlines();
    User currentUser=review.getUser();
    if (currentAirline.getName() == airlines && currentUser.getUsername() == user) {
      reviewsByAirlinesUser.add(review);
    }
  }
  if (!reviewsByAirlinesUser.isEmpty()) {
    return Response.ok().entity(reviewsByAirlinesUser).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}
Program: 172447
Project: 172447
Buggy source:
@GET @Path("String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class)),headers={@Header(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.INTEGER),required=true,allowEmptyValue=true,deprecated=true),@Header(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.STRING),required=true,allowEmptyValue=true,deprecated=true)}) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @Produces("String_Node_Str") public Response getReviewById(@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str"))) @PathParam("String_Node_Str") int id){
  Review review=reviews.get(id);
  if (review != null) {
    return Response.ok().entity(review).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}

Fixed version (ground truth):
@GET @Path("String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class)),headers={@Header(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.INTEGER),required=true,allowEmptyValue=true,deprecated=true),@Header(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.STRING),required=true,allowEmptyValue=true,deprecated=true)}) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @Produces("String_Node_Str") public Response getReviewById(@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(name="String_Node_Str",value="String_Node_Str"))) @PathParam("String_Node_Str") int id){
  Review review=reviews.get(id);
  if (review != null) {
    return Response.ok().entity(review).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}
Program: 172448
Project: 172448
Buggy source:
@GET @Path("String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str")),example="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class))) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Produces("String_Node_Str") public Response getReviewByAirline(@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str"))) @PathParam("String_Node_Str") String airlines){
  List<Review> reviewsByAirlines=new ArrayList<Review>();
  for (  Review review : reviews.values()) {
    Airline currentAirline=review.getAirlines();
    if (currentAirline.getName() == airlines) {
      reviewsByAirlines.add(review);
    }
  }
  if (!reviewsByAirlines.isEmpty()) {
    return Response.ok().entity(reviewsByAirlines).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}

Fixed version (ground truth):
@GET @Path("String_Node_Str") @Operation(operationId="String_Node_Str",summary="String_Node_Str") @Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(name="String_Node_Str",value="String_Node_Str")),example="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(implementation=Review.class))) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Produces("String_Node_Str") public Response getReviewByAirline(@Parameter(name="String_Node_Str",description="String_Node_Str",required=true,in=ParameterIn.PATH,content=@Content(examples=@ExampleObject(value="String_Node_Str"))) @PathParam("String_Node_Str") String airlines){
  List<Review> reviewsByAirlines=new ArrayList<Review>();
  for (  Review review : reviews.values()) {
    Airline currentAirline=review.getAirlines();
    if (currentAirline.getName() == airlines) {
      reviewsByAirlines.add(review);
    }
  }
  if (!reviewsByAirlines.isEmpty()) {
    return Response.ok().entity(reviewsByAirlines).build();
  }
 else {
    return Response.status(Status.NOT_FOUND).build();
  }
}
Program: 172449
Project: 172449
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExampleObject(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasItem("String_Node_Str"));
  vr.body("String_Node_Str",hasItems("String_Node_Str","String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExampleObject(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
}
Program: 172450
Project: 172450
Buggy source:
@Path("String_Node_Str") @PUT @RequestBody(name="String_Node_Str",description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=User.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",value="String_Node_Str"))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @APIResponses(value={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",implementation=User.class),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true,headers=@Header(ref="String_Node_Str")))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str"),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")}) @Tag(ref="String_Node_Str") public Response updateUser(@Parameter(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.STRING),required=true) @PathParam("String_Node_Str") String username,User user){
  userData.addUser(user);
  return Response.ok().entity("String_Node_Str").build();
}

Fixed version (ground truth):
@Path("String_Node_Str") @PUT @RequestBody(name="String_Node_Str",description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=User.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",value="String_Node_Str"))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @APIResponses(value={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(ref="String_Node_Str"),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true,headers=@Header(ref="String_Node_Str")))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str"),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")}) @Tag(ref="String_Node_Str") public Response updateUser(@Parameter(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.STRING),required=true) @PathParam("String_Node_Str") String username,User user){
  userData.addUser(user);
  return Response.ok().entity("String_Node_Str").build();
}
Program: 172451
Project: 172451
Buggy source:
@POST @SecurityRequirement(name="String_Node_Str",scopes={"String_Node_Str","String_Node_Str"}) @Callback(name="String_Node_Str",callbackUrlExpression="String_Node_Str",operations=@CallbackOperation(method="String_Node_Str",summary="String_Node_Str",responses={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(type=SchemaType.ARRAY,implementation=Booking.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")})) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",description="String_Node_Str",type=SchemaType.STRING))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @Consumes("String_Node_Str") @Produces("String_Node_Str") public Response createBooking(@RequestBody(description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=Booking.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",externalValue="String_Node_Str"))) Booking task){
  bookings.put(currentId,task);
  return Response.status(Status.CREATED).entity("String_Node_Str" + currentId++ + "String_Node_Str").build();
}

Fixed version (ground truth):
@POST @SecurityRequirement(name="String_Node_Str",scopes={"String_Node_Str","String_Node_Str"}) @Callback(name="String_Node_Str",callbackUrlExpression="String_Node_Str",operations=@CallbackOperation(method="String_Node_Str",summary="String_Node_Str",responses={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(type=SchemaType.ARRAY,implementation=Booking.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")})) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",description="String_Node_Str",type=SchemaType.STRING))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @Consumes("String_Node_Str") @Produces("String_Node_Str") public Response createBooking(@RequestBody(description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(ref="String_Node_Str"),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",externalValue="String_Node_Str"))) Booking task){
  bookings.put(currentId,task);
  return Response.status(Status.CREATED).entity("String_Node_Str" + currentId++ + "String_Node_Str").build();
}
Program: 172452
Project: 172452
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testCallbackOperationAnnotations(String type){
  ValidatableResponse vr=callEndpoint(type);
  String endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testCallbackOperationAnnotations(String type){
  ValidatableResponse vr=callEndpoint(type);
  String endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",notNullValue());
}
Program: 172453
Project: 172453
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSchema(String type){
  ValidatableResponse vr=callEndpoint(type);
  String createSchema="String_Node_Str";
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body("String_Node_Str",equalTo(1024));
  vr.body("String_Node_Str",equalTo(1));
  vr.body("String_Node_Str",hasItems("String_Node_Str","String_Node_Str","String_Node_Str"));
  vr.body(createSchema + "String_Node_Str",equalTo(20));
  vr.body(createSchema + "String_Node_Str",equalTo(2));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSchema(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo(1024));
  vr.body("String_Node_Str",equalTo(1));
  vr.body("String_Node_Str",hasItems("String_Node_Str","String_Node_Str","String_Node_Str"));
  String createSchema="String_Node_Str";
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body(createSchema + "String_Node_Str",equalTo(20));
  vr.body(createSchema + "String_Node_Str",equalTo(2));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
}
Program: 172454
Project: 172454
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  String content2="String_Node_Str";
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",notNullValue());
  String content2="String_Node_Str";
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
}
Program: 172455
Project: 172455
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",notNullValue());
}
Program: 172457
Project: 172457
Buggy source:
@Test public void linkTest(){
  final Link l=processConstructible(Link.class);
  final String parameterKey="String_Node_Str";
  final Parameter parameterValue=createConstructibleInstance(Parameter.class);
  checkSameObject(l,l.addParameter(parameterKey,parameterValue));
  checkMapEntry(l.getParameters(),parameterKey,parameterValue);
}

Fixed version (ground truth):
@Test public void linkTest(){
  final Link l=processConstructible(Link.class);
  final String parameterKey="String_Node_Str";
  final String parameterValue="String_Node_Str";
  checkSameObject(l,l.addParameter(parameterKey,parameterValue));
  checkMapEntry(l.getParameters(),parameterKey,parameterValue);
}
Program: 172458
Project: 172458
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanDisable(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(0));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanDisable(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",notNullValue());
  vr.body("String_Node_Str",notNullValue());
  vr.body("String_Node_Str",notNullValue());
  vr.body("String_Node_Str",aMapWithSize(0));
}
Program: 172459
Project: 172459
Buggy source:
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tag(ref="String_Node_Str") @Parameter(name="String_Node_Str",in=ParameterIn.QUERY,description="String_Node_Str",required=true,explode=Explode.FALSE,content=@Content(mediaType="String_Node_Str",schema=@Schema(type=SchemaType.ARRAY,implementation=User.class,nullable=true,writeOnly=true,minItems=2,maxItems=20,uniqueItems=true),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true))) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithArrayInput(@Parameter(description="String_Node_Str",required=true) User[] users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tag(ref="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithArrayInput(@RequestBody(description="String_Node_Str",required=true,content=@Content(mediaType="String_Node_Str",schema=@Schema(type=SchemaType.ARRAY,implementation=User.class,nullable=true,writeOnly=true,minItems=2,maxItems=20,uniqueItems=true),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true))) User[] users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}
Program: 172460
Project: 172460
Buggy source:
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tags(refs="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithListInput(@Parameter(description="String_Node_Str",required=true) java.util.List<User> users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tags(refs="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithListInput(@RequestBody(description="String_Node_Str",required=true) java.util.List<User> users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}
Program: 172461
Project: 172461
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testVersion(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testVersion(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
}
Program: 172462
Project: 172462
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testVersion(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testVersion(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
}
Program: 172463
Project: 172463
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExcludedClass(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(11));
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExcludedClass(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(11));
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
}
Program: 172464
Project: 172464
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExcludedClasses(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(10));
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExcludedClasses(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(10));
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
}
Program: 172465
Project: 172465
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExcludePackage(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(14));
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testExcludePackage(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(14));
  vr.body("String_Node_Str",nullValue());
  vr.body("String_Node_Str",nullValue());
}
Program: 172466
Project: 172466
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanClass(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(5));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanClass(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(5));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
}
Program: 172467
Project: 172467
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanClasses(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(6));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanClasses(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(6));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
  vr.body("String_Node_Str",aMapWithSize(1));
}
Program: 172468
Project: 172468
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanDisable(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(0));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanDisable(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(0));
}
Program: 172469
Project: 172469
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanPackage(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(3));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testScanPackage(String type) throws InterruptedException {
  vr=callEndpoint(type);
  vr.body("String_Node_Str",startsWith("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",hasKey("String_Node_Str"));
  vr.body("String_Node_Str",aMapWithSize(2));
  vr.body("String_Node_Str",aMapWithSize(3));
}
Program: 172472
Project: 172472
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSchema(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSchema(String type) throws InterruptedException {
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
}
Program: 172473
Project: 172473
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testTagsInOperations(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",contains("String_Node_Str"));
  vr.body("String_Node_Str",containsInAnyOrder("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testTagsInOperations(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",containsInAnyOrder("String_Node_Str","String_Node_Str"));
  vr.body("String_Node_Str",containsInAnyOrder("String_Node_Str"));
}
Program: 172475
Project: 172475
Buggy source:
@POST @SecurityRequirement(name="String_Node_Str",scopes={"String_Node_Str","String_Node_Str"}) @Callback(name="String_Node_Str",callbackUrlExpression="String_Node_Str",operations=@CallbackOperation(summary="String_Node_Str",responses={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(type=SchemaType.ARRAY,implementation=Booking.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")})) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",description="String_Node_Str",type=SchemaType.STRING))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @Consumes("String_Node_Str") @Produces("String_Node_Str") public Response createBooking(@RequestBody(description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=Booking.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",externalValue="String_Node_Str"))) Booking task){
  bookings.put(currentId,task);
  return Response.status(Status.CREATED).entity("String_Node_Str" + currentId++ + "String_Node_Str").build();
}

Fixed version (ground truth):
@POST @SecurityRequirement(name="String_Node_Str",scopes={"String_Node_Str","String_Node_Str"}) @Callback(name="String_Node_Str",callbackUrlExpression="String_Node_Str",operations=@CallbackOperation(method="String_Node_Str",summary="String_Node_Str",responses={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(type=SchemaType.ARRAY,implementation=Booking.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")})) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",description="String_Node_Str",type=SchemaType.STRING))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @Consumes("String_Node_Str") @Produces("String_Node_Str") public Response createBooking(@RequestBody(description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=Booking.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",externalValue="String_Node_Str"))) Booking task){
  bookings.put(currentId,task);
  return Response.status(Status.CREATED).entity("String_Node_Str" + currentId++ + "String_Node_Str").build();
}
Program: 172476
Project: 172476
Buggy source:
private void testAvailabilityGetParamater(ValidatableResponse vr){
  String availabilityParameters="String_Node_Str";
  vr.body(availabilityParameters,hasSize(6));
  vr.body(availabilityParameters + "String_Node_Str",hasItems("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  List<String[]> list=new ArrayList<String[]>();
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  for (int i=0; i < list.size(); i++) {
    String currentParam=list.get(i)[0];
    String query=availabilityParameters + "String_Node_Str" + currentParam+ "String_Node_Str";
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains(list.get(i)[1])));
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains(true)));
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
  }
  vr.body(availabilityParameters + "String_Node_Str",both(hasSize(1)).and(contains(0)));
  vr.body(availabilityParameters + "String_Node_Str",both(hasSize(1)).and(contains(0)));
}

Fixed version (ground truth):
private void testAvailabilityGetParamater(ValidatableResponse vr){
  String availabilityParameters="String_Node_Str";
  vr.body(availabilityParameters,hasSize(6));
  vr.body(availabilityParameters + "String_Node_Str",hasItems("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  List<String[]> list=new ArrayList<String[]>();
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  list.add(new String[]{"String_Node_Str","String_Node_Str"});
  for (int i=0; i < list.size(); i++) {
    String currentParam=list.get(i)[0];
    String query=availabilityParameters + "String_Node_Str" + currentParam+ "String_Node_Str";
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains(list.get(i)[1])));
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains(true)));
    vr.body(query + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
  }
  vr.body(availabilityParameters + "String_Node_Str",both(hasSize(1)).and(contains(0)));
  vr.body(availabilityParameters + "String_Node_Str",both(hasSize(1)).and(contains(0)));
  vr.body(availabilityParameters + "String_Node_Str",equalTo("String_Node_Str"));
}
Program: 172477
Project: 172477
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testCallbackOperationAnnotations(String type){
  ValidatableResponse vr=callEndpoint(type);
  String endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testCallbackOperationAnnotations(String type){
  ValidatableResponse vr=callEndpoint(type);
  String endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
}
Program: 172478
Project: 172478
Buggy source:
private void testBookingIdMethods(ValidatableResponse vr){
  String bookingParameters="String_Node_Str";
  for (  String method : new String[]{"String_Node_Str","String_Node_Str","String_Node_Str"}) {
    bookingParameters=String.format(bookingParameters,method);
    vr.body(bookingParameters,hasSize(1));
    vr.body(bookingParameters + "String_Node_Str",contains("String_Node_Str"));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains(true)));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
  }
}

Fixed version (ground truth):
private void testBookingIdMethods(ValidatableResponse vr){
  String bookingParameters="String_Node_Str";
  for (  String method : new String[]{"String_Node_Str","String_Node_Str","String_Node_Str"}) {
    bookingParameters=String.format(bookingParameters,method);
    vr.body(bookingParameters,hasSize(1));
    vr.body(bookingParameters + "String_Node_Str",contains("String_Node_Str"));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains(true)));
    vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
  }
  bookingParameters="String_Node_Str";
  vr.body(bookingParameters + "String_Node_Str",both(hasSize(1)).and(contains("String_Node_Str")));
}
Program: 172479
Project: 172479
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSecurityRequirement(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo(null));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",hasSize(2));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSecurityRequirement(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo(null));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",hasSize(1));
  vr.body("String_Node_Str",hasSize(2));
  vr.body("String_Node_Str",equalTo(null));
  vr.body("String_Node_Str",empty());
}