- public void testAssureSearchDob() throws IOException {
- String loc = search("email=" + URLEncoder.encode(assureeM, "UTF-8") + "&day=2&month=1&year=1910");
- assertThat(loc, not(isAssuranceForm()));
- loc = search("email=" + URLEncoder.encode(assureeM, "UTF-8") + "&day=1&month=2&year=1910");
- assertThat(loc, not(isAssuranceForm()));
- loc = search("email=" + URLEncoder.encode(assureeM, "UTF-8") + "&day=1&month=1&year=1911");
- assertThat(loc, not(isAssuranceForm()));
+ public void testVerifySearchDob() throws IOException {
+ String loc = search("email=" + URLEncoder.encode(applicantM, "UTF-8") + "&day=2&month=1&year=1910");
+ assertThat(loc, not(isVerificationForm()));
+ loc = search("email=" + URLEncoder.encode(applicantM, "UTF-8") + "&day=1&month=2&year=1910");
+ assertThat(loc, not(isVerificationForm()));
+ loc = search("email=" + URLEncoder.encode(applicantM, "UTF-8") + "&day=1&month=1&year=1911");
+ assertThat(loc, not(isVerificationForm()));