Пример #1
0
        protected override void beforeEach()
        {
            theBaseFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "folder1");

            theManifest = new PackageManifest();
            theManifest.SetRole(BottleRoles.Data);

            theInput = new CreateBottleInput {
                PackageFolder = theBaseFolder
            };

            theZipFile = new StubZipFile();

            ClassUnderTest.AddDataFiles(theInput, theZipFile, theManifest);

            theRequest = theZipFile.ZipRequests.Single();
        }