コード例 #1
0
        public void Remove_NotExistingIdPassed_ReturnsNotFoundResponse()
        {
            // Arrange
            var notExistingId = 5;

            // Act
            var notFound = _controller.DeleteById(notExistingId);

            // Assert
            Assert.IsType <NotFoundResult>(notFound);
        }