@Test
public void addNewUris() throws Exception {

    queue.purge();
    filter.purge();
    frontier.addNewUris(uris);
    List<CrawleableUri> nextUris = frontier.getNextUris();
    List<CrawleableUri> assertion = new ArrayList<CrawleableUri>();
    assertion.add(cuf.create(new URI("http://dbpedia.org/resource/New_York"),
        InetAddress.getByName("194.109.129.58"), UriType.DEREFERENCEABLE));
    assertion.add(cuf.create(new URI("http://dbpedia.org/resource/Moscow"), InetAddress.getByName("194.109.129.58"),
        UriType.DEREFERENCEABLE));
    assertEquals("Should be the same as uris array", assertion, nextUris);
}