@Test
public void testUpdateEventCommentReply() throws Exception {

  given().pathParam("eventId", "asdasd").pathParam("commentId", 33).pathParam("replyId", 78).contentType(ContentType.URLENC).expect()
          .statusCode(HttpStatus.SC_BAD_REQUEST).when().put(rt.host("{eventId}/comment/{commentId}/{replyId}"));
  given().pathParam("eventId", "asdasd").pathParam("commentId", 33).pathParam("replyId", 77).formParam("text", "Text")
          .expect().statusCode(HttpStatus.SC_NOT_FOUND).when()
          .put(rt.host("{eventId}/comment/{commentId}/{replyId}"));
  String result = given().pathParam("eventId", "asdasd").pathParam("commentId", 33).pathParam("replyId", 78)
          .formParam("text", "Text").expect().statusCode(HttpStatus.SC_OK).when()
          .put(rt.host("{eventId}/comment/{commentId}/{replyId}")).asString();
  JSONObject parse = (JSONObject) new JSONParser().parse(result);
  JSONArray replies = (JSONArray) parse.get("replies");
  JSONObject reply = (JSONObject) replies.get(0);
  Assert.assertEquals("Text", reply.get("text"));
}