+ "or (tolower(Id) eq 'fifth.package')) "
+ "or (tolower(Id) eq 'sixth.package')) "
+ "or (tolower(Id) eq 'seventh.package') "
+ "and isLatestVersion";
//Пакеты
Nupkg firstPackage = createPackageStub("first.package", "1");
Nupkg secondPackage = createPackageStub("second.package", "1");
Nupkg thridPackage = createPackageStub("thrid.package", "1");
Nupkg fourthPackage = createPackageStub("fourth.package", "1");
Nupkg fifthPackage = createPackageStub("fifth.package", "1");
Nupkg sixthPackage = createPackageStub("sixth.package", "1");
Nupkg seventhFirstPackage = createPackageStub("seventh.package", "1");
Nupkg seventhLastPackage = createPackageStub("seventh.package", "2");
Nupkg eighthPackage = createPackageStub("eighth.package", "1");
//Хранилище
@SuppressWarnings("unchecked")
final PackageSource<Nupkg> source = context.mock(PackageSource.class);
Expectations expectations = new Expectations();
expectations.oneOf(source).getPackages("first.package");