protected void admin_CreatePostAction_ModelError() { // act ViewResult result = controller.Create(viewModel) as ViewResult; // assert Assert.IsNotNull(result); Assert.AreEqual(expected, result.ViewName); }