public void TestCommand() { var secondPageModel = new SecondPageModel(); secondPageModel.ButtonCommand.Execute(null); Assert.AreEqual(secondPageModel.SelectionCheck, false); }
public IActionResult SecondPage(SecondPageModel model) { return(View()); }
public void TestInitList() { var secondPageModel = new SecondPageModel(); Assert.AreEqual(secondPageModel.FunctionList.Count(), 3); }