if (!this.isAuthenticationEnabled() && json == null) {
return;
}
JSONObject reservations = json.getJSONObject("reservations");
testRDLHelper(reservations);
<BUG>long reservationId = reservations.getJSONObject("reservation-id")

.getLong("reservation-id");
assertEquals(id1.getId(), reservationId);
</BUG>
rm.stop();

if (!this.isAuthenticationEnabled() && json == null) {
return;
}
JSONObject reservations = json.getJSONObject("reservations");
testRDLHelper(reservations);
String reservationName = reservations.getJSONObject
("reservation-definition").getString("reservation-name");
assertEquals(reservationName, "res_1");
