<BUG>long reservationId = reservations.getJSONObject("reservation-id").getLong("reservation-id");assertEquals(id1.getId(), reservationId);</BUG><CONTEXT>if (!this.isAuthenticationEnabled() && json == null) {return;}JSONObject reservations = json.getJSONObject("reservations");testRDLHelper(reservations);<extra_id_0>rm.stop();</CONTEXT>
String reservationName = reservations.getJSONObject("reservation-definition").getString("reservation-name");assertEquals(reservationName, "res_1");