Properties properties = new Properties();
properties.setProperty(ServiceConstants.PROPERTY_MAVEN_REPOSITORIES, "http://repo1,http://repo2");
properties.setProperty(ServiceConstants.PROPERTY_LOCAL_MAVEN_REPOSITORY, "/home/test/.m2/repository");
URL url = new URL("file:test");
ConfigurationImpl configuration = new ConfigurationImpl(new DictionaryPropertyResolver(properties));
// TODO: reimplement this test
// FabConnection connection = new FabConnection(url, configuration, null);
// assertArrayEquals(new String[]{"http://repo1", "http://repo2"}, connection.getResolver().getRepositories());
// assertEquals("/home/test/.m2/repository", connection.getResolver().getLocalRepo());