Esempio n. 1
0
        private IEnumerable <StubZipEntry> theResultingZipEntries()
        {
            var zipFile = new StubZipFile();

            theRequest.WriteToZipFile(zipFile);

            return(zipFile.AllZipEntries);
        }
Esempio n. 2
0
        public void CreateZipFile(string fileName, Action <IZipFile> configure)
        {
            _fileName = fileName;
            var stubFile = new StubZipFile();

            configure(stubFile);

            _allEntries = stubFile.AllZipEntries;
            _requests   = stubFile.ZipRequests;
        }
        private IEnumerable<StubZipEntry> theResultingZipEntries()
        {
            var zipFile = new StubZipFile();
            theRequest.WriteToZipFile(zipFile);

            return zipFile.AllZipEntries;
        }