Esempio n. 1
0
        public void TestCommand()
        {
            var secondPageModel = new SecondPageModel();

            secondPageModel.ButtonCommand.Execute(null);

            Assert.AreEqual(secondPageModel.SelectionCheck, false);
        }
 public IActionResult SecondPage(SecondPageModel model)
 {
     return(View());
 }
Esempio n. 3
0
        public void TestInitList()
        {
            var secondPageModel = new SecondPageModel();

            Assert.AreEqual(secondPageModel.FunctionList.Count(), 3);
        }