public void DeleteDeliveryPost_CorrectDelivery_ReturnsCorrectViewResult()
        {
            // Arrange
            Mock <IDeliveryProvider> deliveryProviderMock = new Mock <IDeliveryProvider>();
            Mock <IDeliveryHandler>  deliveryHandlerMock  = new Mock <IDeliveryHandler>();

            deliveryHandlerMock.Setup(x => x.Delete(1))
            .Returns(true);
            Mock <IDeliveryValidator> deliveryValidatorMock = new Mock <IDeliveryValidator>();

            DeliveryController controller = new DeliveryController(deliveryProviderMock.Object, deliveryHandlerMock.Object, deliveryValidatorMock.Object);
            // Act
            RedirectToRouteResult result = controller.DeleteDeliveryPost(1) as RedirectToRouteResult;

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("GetDeliveriesList", result.RouteValues.FirstOrDefault().Value);
        }