fakeRepo = "http://nowhere.com/";
String url = getClass().getResource("/geronimo-plugins.xml").toString();
int pos = url.lastIndexOf("/");
testRepo = url.substring(0, pos);
ServerInfo serverInfo = new BasicServerInfo(".");
installer = new PluginInstallerGBean(new MockConfigurationManager(), new MockWritableListableRepository(), new MockConfigStore(),
installedPluginsList, serverInfo, new ThreadPool() {
public int getPoolSize() {
return 0;
}