assertFalse(file.exists());
Index index = new Index();
TempNupkgFile tempNupkgFile = new TempNupkgFile(this.getClass().getResourceAsStream("/NUnit.2.5.9.10348.nupkg"));
RemoteNupkg remoteNupkg = new RemoteNupkg(tempNupkgFile.getNuspecFile(), tempNupkgFile.getHash(), mockId, tempNupkgFile.getUpdated(), new URI("http://site.org"));
ProxyNupkg proxyNupkg = new ProxyNupkg(null, remoteNupkg);
index.put(proxyNupkg);
//WHEN
try (FileOutputStream fileOutputStream = new FileOutputStream(file)) {
index.saveTo(fileOutputStream);