public void DeleteRate_FailNotFound()
        {
            // Arrange
            var controller = new NewsItemsController();

            controller.Request       = new HttpRequestMessage();
            controller.Configuration = new HttpConfiguration();
            controller.Request.Headers.Add("Cookie", "sessionString=i81S2pE4tJ5LV0F658HCXK2zF57M3L");
            controller.Request.RequestUri = new Uri("https://localhost:44341/api/");

            // Act
            var response = controller.DeleteRate(-1);

            // Assert
            Assert.AreEqual(HttpStatusCode.NotFound, response.StatusCode);
        }
        public void DeleteRate_OK()
        {
            // Arrange
            var controller = new NewsItemsController();

            controller.Request       = new HttpRequestMessage();
            controller.Configuration = new HttpConfiguration();
            controller.Request.Headers.Add("Cookie", "sessionString=i71S2pE4tJ5LV0F658HCXK2zF57M3L");
            controller.Request.RequestUri = new Uri("https://localhost:44341/api/");
            controller.PostRate(2, 8);

            // Act
            var response = controller.DeleteRate(2);

            // Assert
            Assert.AreEqual(HttpStatusCode.OK, response.StatusCode);
            // nit: might be a good idea to check if that rate cancellation changed anything
        }