Ejemplo 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);
        }
Ejemplo n.º 2
0
        static TestWriteFileActivityDesignerViewModel WriteFileActivityViewModel()
        {
            var viewModel = new TestWriteFileActivityDesignerViewModel(ModelItemUtils.CreateModelItem(new FileWriteActivity()));

            return(viewModel);
        }