Exemple #1
0
        public void ReturnInternalList()
        {
            _provider.Setup(p => p.GetList("Internal")).Returns(new List <string>
            {
                "Have all Change requests followed SDLC before PROD move?",
                "Have all Change requests been approved by the application owner?",
                "Is data deletion from the system done with application owner approval?"
            });
            var result = controllerObj.Get("Internal");

            Assert.That(result, Is.InstanceOf <OkObjectResult>());
        }
Exemple #2
0
        public void ReturnInternalList()
        {
            _provider.Setup(p => p.GetList("Internal")).Returns(new List <string>
            {
                "Have all Change requests followed SDLC before PROD move?",
                "Have all Change requests been approved by the application owner?",
                "Are all artifacts like CR document, Unit test cases available?",
                "Is the SIT and UAT sign-off available?",
                "Is data deletion from the system done with application owner approval?"
            });
            var result = controllerObj.Get("Internal");

            Assert.That(result, Is.InstanceOf <OkObjectResult>());
        }