@Test
public void testExtractLinksFtp() {

    List<String> links = RegexUtils.extractLinks(
            "Test with ftp://www.nutch.org is it found? " +
            "What about www.google.com at ftp://www.google.de");
     
    assertTrue("Url not found!", links.size() == 2);
    assertEquals("Wrong URL", "ftp://www.nutch.org", links.get(0));
    assertEquals("Wrong URL", "ftp://www.google.de", links.get(1));
}