mrid = ModuleRevisionId.newInstance("fr.jayasoft.unknown", "test", "1.0"); rmr = resolver.getDependency(new DefaultDependencyDescriptor(mrid, false), _data); assertNull(rmr); resolver.reportFailure();
    public void testMaven2() throws Exception {        FileSystemResolver resolver = new FileSystemResolver();        resolver.setName("test");        resolver.setIvy(_ivy);        resolver.setM2compatible(true);        assertEquals("test", resolver.getName());                resolver.addIvyPattern("test/repositories/m2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]");        resolver.addArtifactPattern("test/repositories/m2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]");                ModuleRevisionId mrid = ModuleRevisionId.newInstance("fr.jayasoft", "test", "1.0");        ResolvedModuleRevision rmr = resolver.getDependency(new DefaultDependencyDescriptor(mrid, false), _data);        assertNotNull(rmr);    }