@Test
public void testSearchTourInfo01() {

    // search data
    criteria.setDepDate(depDay.toDate());
    criteria.setAdultCount(1);
    criteria.setArrCode("01");
    criteria.setBasePrice(0);
    criteria.setChildCount(1);
    criteria.setDepCode("01");
    criteria.setTourDays(0);
    Pageable pageable = PageRequest.of(0, 10);
    // run
    Page<TourInfo> page = tourInfoRepository.findPageBySearchCriteria(
            criteria, pageable);
    assertThat(page.getTotalPages(), is(1));
    assertThat(page.getNumber(), is(0));
    TourInfo tour = page.getContent().get(0);
    // assert
    assertThat(tour.getAvaRecMax(), is(2147483647));
    assertThat(tour.getBasePrice(), is(basePrice));
    assertThat(tour.getConductor(), is("1"));
    assertThat(tour.getDepDay().getTime(), is(depDay.getMillis()));
    assertThat(tour.getPlannedDay().getTime(), is(plannedDay.getMillis()));
    assertThat(tour.getTourAbs(), is(tourAbs));
    assertThat(tour.getTourCode(), is(tourCode));
    assertThat(tour.getTourDays(), is(1));
    assertThat(tour.getTourName(), is(tourName));
    assertThat(tour.getAccommodation().getAccomCode(), is("0001"));
    assertThat(tour.getAccommodation().getAccomName(), is(
            "TERASOLUNAホテル第一荘"));
    assertThat(tour.getAccommodation().getAccomTel(), is("018-123-4567"));
    assertThat(tour.getDeparture().getDepCode(), is("01"));
    assertThat(tour.getDeparture().getDepName(), is("北海道"));
}