ResolverTestHelper.assertOrganisationEntries(resolver, new String[] {"org1", "org2", "org6", "org9"}, orgs);
ResolverTestHelper.assertOrganisationEntries(resolver, new String[] {"org1", "org2", "org6", "org9", "orgfailure"}, orgs);
    public void testListing() throws Exception {        FileSystemResolver resolver = new FileSystemResolver();        resolver.setName("test");        resolver.setIvy(_ivy);        assertEquals("test", resolver.getName());                resolver.addIvyPattern(IVY_PATTERN);        resolver.addArtifactPattern("test/repositories/1/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]");        OrganisationEntry[] orgs = resolver.listOrganisations();        ResolverTestHelper.assertOrganisationEntries(resolver, new String[] {"org1", "org2", "org6", "org9"}, orgs);                OrganisationEntry org = ResolverTestHelper.getEntry(orgs, "org1");        ModuleEntry[] mods = resolver.listModules(org);        ResolverTestHelper.assertModuleEntries(resolver, org, new String[] {"mod1.1", "mod1.2", "mod1.3", "mod1.4"}, mods);        ModuleEntry mod = ResolverTestHelper.getEntry(mods, "mod1.1");        RevisionEntry[] revs = resolver.listRevisions(mod);        ResolverTestHelper.assertRevisionEntries(resolver, mod, new String[] {"1.0", "1.0.1", "1.1", "2.0"}, revs);        mod = ResolverTestHelper.getEntry(mods, "mod1.2");        revs = resolver.listRevisions(mod);        ResolverTestHelper.assertRevisionEntries(resolver, mod, new String[] {"2.0", "2.1", "2.2"}, revs);    }