@Test
public void testUpdateSimpleUrlsStatus() throws Exception {

    List<String> urls = Arrays.asList("someURL1", "someURL2", "someURL3", "someURL4", "someURL5");
    service.addSimpleUrls(urls, "new", "site.com", "origin.com");
    service.updateSimpleUrlsStatus(Arrays.asList("someURL3", "someURL5"), "old");
    assertEquals(3, urlRepo.count("{status: 'new'}"));
    assertEquals(2, urlRepo.count("{status: 'old'}"));
}