@Test public void testInvalid() { for (String surl : invalidSURLs) { assertFalse("Invalid SURL considered valid: " + surl, SURLValidator.valid(surl)); } }
@Test public void testValid() { for (String surl : validSURLs) { assertTrue("Valid SURL considered invalid: " + surl, SURLValidator.valid(surl)); } }