Esempio n. 1
0
        public void WriteFileActivityDesignerViewModel_FileContentsAsBase64_IsSetToTrue()
        {
            //------------Setup for test-------------------------
            var viewModel = new TestWriteFileActivityDesignerViewModel(ModelItemUtils.CreateModelItem(new FileWriteActivity
            {
                FileContentsAsBase64 = true
            }));

            //------------Assert Results-------------------------
            Assert.IsTrue(viewModel.FileContentsAsBase64);
        }
Esempio n. 2
0
        static TestWriteFileActivityDesignerViewModel WriteFileActivityViewModel()
        {
            var viewModel = new TestWriteFileActivityDesignerViewModel(ModelItemUtils.CreateModelItem(new FileWriteActivity()));

            return(viewModel);
        }