Exemple #1
0
        public void RegisterViewTargetWithNull()
        {
            // Setup
            var mvc = new MvcEngine();

            // Execute
            var result = mvc.RegisterViewTarget(a_viewTarget: null);
        }
Exemple #2
0
        public void RegisterViewTarget()
        {
            // Setup
            var mvc = new MvcEngine();

            // Execute
            var result = mvc.RegisterViewTarget(new TestViewTarget());

            // Assert
            Assert.AreSame(mvc, result);
        }
Exemple #3
0
        public void RegisterViewTargetWithNull()
        {
            // Setup
            var mvc = new MvcEngine();

            // Execute
            var result = mvc.RegisterViewTarget(a_viewTarget: null);
        }
Exemple #4
0
        public void RegisterViewTarget()
        {
            // Setup
            var mvc = new MvcEngine();

            // Execute
            var result = mvc.RegisterViewTarget(new TestViewTarget());

            // Assert
            Assert.AreSame(mvc, result);
        }