示例#1
0
 public void set_up()
 {
     _zipPackager = new ZipPackager();
     KeysGeneratorProgram.Main(new[]
                                   {
                                       IssuerXmlPath,
                                   });
 }
        public void set_up()
        {
            if (Directory.Exists(FolderPath))
                Directory.Delete(FolderPath, true);

            Directory.CreateDirectory(FolderPath);

            _storageMock = new Mock<IStorageProvider>();
            _repositoryModel = new RepositoryModel(_storageMock.Object);
            _zipPackager = new ZipPackager();
            _plainController = new PlainController(_repositoryModel,_zipPackager);
        }
示例#3
0
 public PlainController(RepositoryModel repositoryModel, ZipPackager zipPackager)
 {
     _repositoryModel = repositoryModel;
     _zipPackager = zipPackager;
 }