@Test
public void getNumberOfPendingUris() throws Exception {

    frontier.addNewUris(uris);
      for(CrawleableUri curi: uris)
      	queue.addUri(curi);
    List<CrawleableUri> nextUris = frontier.getNextUris();
    int numberOfPendingUris = frontier.getNumberOfPendingUris();
    assertEquals(1, numberOfPendingUris);
    numberOfPendingUris = frontier.getNumberOfPendingUris();
    assertEquals(2, nextUris.size());
}