public FreightSearchStrategyTest()
 {
     _freight               = new Mock <IFreight>();
     _lossFreightMock       = new Mock <ITypeFreightSearch>();
     _validFreightMock      = new Mock <ITypeFreightSearch>();
     _freightSearchStrategy = new FreightSearchStrategy(new[] { _lossFreightMock.Object, _validFreightMock.Object });
 }
 public GenerateInvoice(IFreight freight, IFreightSearchStrategy freightSearchStrategy)
 {
     _freight = freight;
     _freightSearchStrategy = freightSearchStrategy;
 }