@Test
public void testResolve_mavenUrl() throws Exception {

	MavenResolver mavenResolver = Mockito.mock( MavenResolver.class );
	MavenUrlResolver mavenUrlResolver = new MavenUrlResolver( mavenResolver );
	File f = new File( "test" );
	Mockito.when( mavenResolver.resolve( Mockito.anyString())).thenReturn( f );
	String url = "mvn:net.roboconf/my-app/1.0";
	ResolvedFile resolvedFile = mavenUrlResolver.resolve( url );
	Assert.assertEquals( f, resolvedFile.getFile());
	Assert.assertFalse( resolvedFile.existedBefore());
	Mockito.verify( mavenResolver ).resolve( url );
}