ClientResponse.Status.OK,
new String[][]{
new String[]{"Content-Type", "application/xml"}
});
createHttpServer(c1, c2, c3);
NugetClient nugetClient = new NugetClient();
nugetClient.setUrl("http://localhost:1234");
//WHEN
TempNupkgFile result = nugetClient.getPackage("NUnit", Version.parse("2.5.9.10348"));
//THEN
assertThat(result.getId(), is(equalTo("NUnit")));
assertThat(result.getVersion(), is(equalTo(Version.parse("2.5.9.10348"))));
}