예제 #1
0
        public void Get_ReturnsOk()
        {
            var controller = new StatusAPIController();
            var result     = controller.Get();

            Assert.IsType <OkResult>(result);
        }
예제 #2
0
        public void Get_HasCorrectContent()
        {
            var controller = new StatusAPIController();
            var result     = controller.Get();
            var content    = result as OkObjectResult;

            Assert.Null(content);
        }