public void Check_On_UserName_Of_Item_In_List_Of_HostUsers()
        {
            List <HostUserViewModel> hostUsers = hostUserAppService.GetAllHostUser();

            Assert.That(hostUsers,
                        Has.Exactly(1).
                        Matches <HostUserViewModel>(h => h.UserName.Contains("TestHost")));
        }
Example #2
0
 public ActionResult Index()
 {
     return(View(hostAppService.GetAllHostUser().FirstOrDefault()));
 }