Пример #1
0
        public void TestDeleteItemById()
        {
            // Arrange
            var controller = new ItemsController();

            // Act
            IHttpActionResult actionResult = controller.DeleteItemById(19);

            // Assert
            Assert.IsInstanceOfType(actionResult, typeof(OkResult));
        }