Пример #1
0
        public void CreateMethodCreatesWordFileSuccesfully()
        {
            CurrentUser.user.username = "******";
            CreateWordFileService  fileService  = new CreateWordFileService();
            CreateFileBindingModel bindingModel = new CreateFileBindingModel();

            bindingModel.FileName = "gogo";
            bindingModel.DestPath = @"C:\Users\Nikih\Desktop\Resources";

            fileService.CreateWord(bindingModel);

            FileAssert.Exists(@"C:\Users\Nikih\Desktop\Resources\gogo.docx");
        }