@Test
public void testFindURLs() throws Exception {

    List<String> urls = Arrays.asList("someURL1", "someURL2", "someURL3", "someURL4", "someURL5");
    service.addSimpleUrls(urls, "new", "site.com", "origin.com");
    Collection<SimpleURL> found = service.findURLs("site.com", "new", 0, 2);
    assertEquals(2, found.size());
    Iterator<SimpleURL> iterator = found.iterator();
    assertTrue(urls.contains(iterator.next().getUrl()));
    assertTrue(urls.contains(iterator.next().getUrl()));
}