assertEquals(dual, rmr.getResolver());
assertEquals(dual, rmr.getArtifactResolver());
    public void testResolve() throws Exception {        DualResolver dual = new DualResolver();        MockResolver ivyResolver = MockResolver.buildMockResolver("ivy", true, new GregorianCalendar(2005, 1, 20).getTime());        MockResolver artifactResolver = MockResolver.buildMockResolver("artifact", false, new GregorianCalendar(2005, 1, 20).getTime());        dual.setIvyResolver(ivyResolver);        dual.setArtifactResolver(artifactResolver);        DefaultDependencyDescriptor dd = new DefaultDependencyDescriptor(ModuleRevisionId.newInstance("org","mod", "rev"), false);        ResolvedModuleRevision rmr = dual.getDependency(dd, _data);                assertNotNull(rmr);        assertEquals(dual, rmr.getResolver());        assertEquals(Arrays.asList(new DependencyDescriptor[] {dd}), ivyResolver.askedDeps);        assertTrue(artifactResolver.askedDeps.isEmpty());    }