assertEquals(new HashSet(Arrays.asList(new String[] {"compile", "runtime", "master"})), new HashSet(Arrays.asList(dds[0].getDependencyConfigurations("runtime"))));
assertEquals(new HashSet(Arrays.asList(new String[] {"compile(*)", "runtime(*)", "master(*)"})), new HashSet(Arrays.asList(dds[0].getDependencyConfigurations("runtime"))));
    public void testDependenciesWithScope() throws Exception {        ModuleDescriptor md = PomModuleDescriptorParser.getInstance().parseDescriptor(new Ivy(), getClass().getResource("test-dependencies-with-scope.pom"), false);        assertNotNull(md);                assertEquals(ModuleRevisionId.newInstance("fr.jayasoft", "test", "1.0"), md.getModuleRevisionId());                DependencyDescriptor[] dds = md.getDependencies();        assertNotNull(dds);        assertEquals(3, dds.length);        assertEquals(ModuleRevisionId.newInstance("odmg", "odmg", "3.0"), dds[0].getDependencyRevisionId());        assertEquals(new HashSet(Arrays.asList(new String[] {"runtime"})), new HashSet(Arrays.asList(dds[0].getModuleConfigurations())));        assertEquals(new HashSet(Arrays.asList(new String[] {"compile", "runtime", "master"})), new HashSet(Arrays.asList(dds[0].getDependencyConfigurations("runtime"))));                assertEquals(ModuleRevisionId.newInstance("commons-logging", "commons-logging", "1.0.4"), dds[1].getDependencyRevisionId());        assertEquals(new HashSet(Arrays.asList(new String[] {"compile", "runtime"})), new HashSet(Arrays.asList(dds[1].getModuleConfigurations())));        assertEquals(new HashSet(Arrays.asList(new String[] {"master", "compile"})), new HashSet(Arrays.asList(dds[1].getDependencyConfigurations("compile"))));        assertEquals(new HashSet(Arrays.asList(new String[] {"runtime"})), new HashSet(Arrays.asList(dds[1].getDependencyConfigurations("runtime"))));                        assertEquals(ModuleRevisionId.newInstance("cglib", "cglib", "2.0.2"), dds[2].getDependencyRevisionId());        assertEquals(new HashSet(Arrays.asList(new String[] {"compile", "runtime"})), new HashSet(Arrays.asList(dds[2].getModuleConfigurations())));        assertEquals(new HashSet(Arrays.asList(new String[] {"master", "compile"})), new HashSet(Arrays.asList(dds[2].getDependencyConfigurations("compile"))));        assertEquals(new HashSet(Arrays.asList(new String[] {"runtime"})), new HashSet(Arrays.asList(dds[2].getDependencyConfigurations("runtime"))));    }