*/
@Test
public void testLoadPackages() throws NugetFormatException, IOException, URISyntaxException {
//GIVEN
List<RemoteNupkg> nupkgs = new ArrayList<>();
NugetClient client = context.mock(NugetClient.class);
ClientFactory clientFactory = context.mock(ClientFactory.class);
GetRemotePackageFeedAction action = new GetRemotePackageFeedAction(5, nupkgs, 0, 200, clientFactory);
Expectations expectations = new Expectations();
addExpectation(expectations, client, 5, 0, createPackageFeed("feed-1", createPackageEntry("package-1", "1.2.3"), createPackageEntry("package-2", "1.2.3")));
addExpectation(expectations, client, 2, 2, createPackageFeed("feed-2", createPackageEntry("package-3", "1.2.3"), createPackageEntry("package-4", "1.2.3")));