Пример #1
0
        public void NotEmptyView_NullModel_ReturnsNotFoundView()
        {
            ViewResult expected = NotFoundView(controller);
            ViewResult actual   = controller.NotEmptyView(null);

            Assert.Same(expected, actual);
        }
Пример #2
0
        protected ViewResult NotEmptyView(AController controller, Object model)
        {
            controller.NotEmptyView(model).Returns(new ViewResult());

            return(controller.NotEmptyView(model));
        }