* We expect to get a MalFormedUrlException not a IllegalArgumentException as in the issue
* @throws Exception
*/
@Test(expected=MalformedURLException.class)
public void testResolverWithInvalidMvnRepoIssueKaraf667() throws Exception {
final FeatureImpl f = new FeatureImpl("f1", "1.0");
f.setResolver("obr");
// Using file instead of mvn: as we do not want to mess with URL handlers
f.addBundle(new BundleInfoImpl("file:org.foo/foo/1.0"));
final RepositoryAdmin admin = createMock(RepositoryAdmin.class);
final Resolver resolver = createMock(Resolver.class);
final Resource resource = createMock(Resource.class);
final ObrResolver obrResolver = new ObrResolver();