public void CanShowDispatchForTransportOrder() { var transportOrderId = 1; var result = (ViewResult)_distributionController.Dispatches(transportOrderId); Assert.IsInstanceOf <TransportOrderViewModel>(result.Model); }
public void CanShowDispatchForTransportOrder() { var transportOrderId = 1; var result = (ViewResult)_distributionController.Dispatches(transportOrderId); Assert.IsInstanceOf <TransportOrderViewModel>(result.Model); }