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); }
public PlainController(RepositoryModel repositoryModel, ZipPackager zipPackager) { _repositoryModel = repositoryModel; _zipPackager = zipPackager; }