final int identifier = 1;
final String idString = "id";
final String bodyString = "body";
final String body = "somebody";
final String patchedBody = "some patchedbody";
final MkAnswer first = new MkAnswer.Simple(
HttpURLConnection.HTTP_OK,
Json.createObjectBuilder()
.add(bodyString, body)
.add(idString, identifier)
.build().toString()
);
final MkAnswer second = new MkAnswer.Simple(
HttpURLConnection.HTTP_OK,
Json.createObjectBuilder()
.add(bodyString, patchedBody)
.add(idString, identifier)
.build().toString()
);
final MkAnswer third = new MkAnswer.Simple(
HttpURLConnection.HTTP_OK,
Json.createObjectBuilder()
.add(bodyString, body)
.add(idString, identifier)
.build().toString()