@Test
public void testUpdateSimpleUrlErrorStatus() throws Exception {

    List<String> urls = Arrays.asList("someURL1", "someURL2", "someURL3", "someURL4", "someURL5");
    service.addSimpleUrls(urls, "new", "site.com", "origin.com");
    service.updateSimpleUrlErrorStatus("someURL3", 2);
    assertEquals(4, urlRepo.count("{errorCount: 0}"));
    assertEquals(1, urlRepo.count("{errorCount: 2}"));
    assertEquals(1, urlRepo.count("{status: 'ERROR'}"));
}