@Test
public void testValidate01() {

    SearchTourFormDateValidator validator = new SearchTourFormDateValidator();
    SearchTourForm searchTourForm = new SearchTourForm();
    BindingResult result = new DirectFieldBindingResult(searchTourForm, "SearchTourcriteria");
    searchTourForm.setDepDay(1);
    searchTourForm.setDepMonth(1);
    searchTourForm.setDepYear(2000);
    // run
    validator.validate(searchTourForm, result);
    // assert
    assertThat(result.hasErrors(), is(false));
}