@Test
public void testAddDomainLinks_STRESS() throws Exception {

    List<DomainLink> domainLinks = new ArrayList<>();
    DomainURL domain1 = new DomainURL("d1", "n1");
    for (int i = 0; i < 1000; i++) {
        domainLinks.add(new DomainLink(domain1, new SimpleURL("url"+i, "n"+1, "new")));
    }
    service.addDomainLinks(domainLinks);
    assertEquals(1000, urlRepo.count());
    assertEquals(1, domainRepo.count());
}