public WhenOneProductAndOrderDayIsSunday(DespatchDateFixture fixture) : base(fixture)
 {
     _result = Fixture.Controller.Get(new List <int>()
     {
         3
     }, Fixture.SundayOrderDate);
 }
 public WhenOneProductWithLeadTimeOfThreeDay(DespatchDateFixture fixture) : base(fixture)
 {
     _result = Fixture.Controller.Get(new List <int>()
     {
         3
     }, Fixture.DefaultOrderDate);
 }
 public WhenProductIsNotFound(DespatchDateFixture fixture) : base(fixture)
 {
     _exception = Record.Exception(() =>
                                   _result = Fixture.Controller.Get(new List <int>()
     {
         Fixture.UnknownProductId
     }, Fixture.DefaultOrderDate));
 }
 public WhenSupplierHasSingleBlockedDate(DespatchDateFixture fixture) : base(fixture)
 {
     _exception = Record.Exception(() =>
                                   _result = Fixture.Controller.Get(new List <int>()
     {
         1
     }, Fixture.SupplierOneBlockedDateStart));
 }
 public WhenSupplierBlockedDatesCauseLaterDespatchThanLargeLeadtimeSupplier(DespatchDateFixture fixture) : base(fixture)
 {
     _exception = Record.Exception(() =>
                                   _result = Fixture.Controller.Get(new List <int>()
     {
         1, 9
     }, Fixture.SupplierOneBlockedDateStart));
 }