addExpectation(expectations, client, 200, 3600, createPackageFeed("feed-19", 200, 3601));
addExpectation(expectations, client, 200, 3800, createPackageFeed("feed-20", 200, 3801));
context.checking(expectations);
GetRemotePackageFeedAction instance = new GetRemotePackageFeedAction(200, arrayList, 0, 4000, clientFactory);
//WHEN
ForkJoinPool pool = new ForkJoinPool();
pool.invoke(instance);
//THEN
context.assertIsSatisfied();
assertThat(arrayList.size(), is(equalTo(4000)));
}