Esempio n. 1
0
        public async Task Home_ReturnsViewResult_WithRecenttlyAddedAndCloseTodos()
        {
            var result = await _todosController.Home();

            var viewResult = Assert.IsType <ViewResult>(result);

            Assert.IsAssignableFrom <HomeViewModel>(viewResult.ViewData.Model);
        }