@Test  (expected = PermissionDenied.class)
public void testSetSeedlistInconsistententSeedList() {

    DomainConfiguration dc = createDefaultDomainConfiguration();
    String seedlistName = "default-domain.org";
    SeedList domainSeedList = new SeedList(seedlistName, Arrays.asList(new String[] {"default-domain.org"}));
    SeedList newSeedList = new SeedList(seedlistName, Arrays.asList(new String[] {"other-domain.org"}));
    Domain mockDomain = mock(Domain.class);
    when(mockDomain.getSeedList(seedlistName)).thenReturn(domainSeedList);
    dc.setSeedLists(mockDomain, Arrays.asList (new SeedList[] {newSeedList}));
}