示例#1
0
        public void Floor_Delete_Should_Return_Not_Found_Response()
        {
            _floorController.Request = new HttpRequestMessage();
            _floorController.Request.SetConfiguration(new HttpConfiguration());

            var response = _floorController.Delete(-1);

            Assert.AreEqual(HttpStatusCode.NotFound, response.StatusCode);
        }