expectations.will(returnValue(Arrays.asList(firstPackage, secondPackage)));
expectations.atLeast(0).of(firstPackage).getId();
expectations.will(returnValue("first.package"));
expectations.atLeast(0).of(firstPackage).getNuspecFile();
expectations.will(returnValue(firstNuspec));
expectations.atLeast(0).of(secondPackage).getId();
expectations.will(returnValue("second.package"));
expectations.atLeast(0).of(secondPackage).getNuspecFile();
expectations.will(returnValue(secondNuspec));
expectations.atLeast(0).of(firstNuspec).getDescription();