Example #1
0
        protected void admin_EditGetAction_ViewModelNotNull()
        {
            // Act / action
            var result = controller.Edit(id) as ViewResult;

            // Assert
            Assert.IsNotNull(result);
            Assert.IsNotNull(result.Model);
        }