Example #1
0
        public void ItReturnsOkObjectResult()
        {
            // Arrange
            // Act
            var result = _controller.Get();

            // Assert
            Assert.NotNull(result);
            Assert.IsType <OkObjectResult>(result);
        }
Example #2
0
 public void ItAcceptsInteger()
 {
     // Arrange
     // Act
     _controller.Get(1);
 }