calendar.add(Calendar.DATE, 1);
final Date afterTomorrow = calendar.getTime();
final DateFormat format = new SimpleDateFormat("MM/dd/YYYY");
final HotelListResponse response =
Expedia.getHotelList()
.locale(LocaleType.EN_US)
.currency("USD")
.customer(uuid, uuid, uuid)
.dates(
format.format(tomorrow),
format.format(afterTomorrow))
.room(1)
.search("Kiev", null, null)
.numberOfResults(20)
.include(false, false)
.call();
assertThat("Customer session IDs should be the same.",
response.getCustomerSessionId(), is(equalTo(uuid)));
assertThat("Hotel list should exists.",
response.getHotelList(), is(notNullValue()));
assertThat("Hotel summary should exists.",
response.getHotelList().getHotelSummary().size(),
is(greaterThan(5)));
}