public void EditView_ReturnsViewResult_True()
        {
            Shipment            shipment   = new Shipment(DateTime.Now);
            ShipmentsController controller = new ShipmentsController();
            ViewResult          editView   = controller.Edit(shipment.GetId()) as ViewResult;

            Assert.IsInstanceOfType(editView, typeof(ViewResult));
        }
        public void EditView_HasCorrectModelType_Shipment()
        {
            Shipment            shipment   = new Shipment(DateTime.Now);
            ShipmentsController controller = new ShipmentsController();
            ViewResult          editView   = controller.Edit(shipment.GetId()) as ViewResult;
            var result = editView.ViewData.Model;

            Assert.IsInstanceOfType(result, typeof(Dictionary <string, object>));
        }