final String packageVersionString = "1.2.3.4";
Nupkg nupkg = context.mock(Nupkg.class);
Expectations expectations = new Expectations();
expectations.atLeast(0).of(nupkg).getId();
expectations.will(Expectations.returnValue(packageId));
expectations.atLeast(0).of(nupkg).getVersion();
expectations.will(Expectations.returnValue(Version.parse(packageVersionString)));
context.checking(expectations);
File idFolder = new File(testFolder, packageId);
File versionFolder = new File(idFolder, packageVersionString);