public TestableStartup()
 {
     MockBookOrderRepository                        = Substitute.For <IBookOrderRepository>();
     MockBookSupplierGateway                        = Substitute.For <IBookSupplierGateway>();
     MockBookOrderLineConflictRepository            = Substitute.For <IBookOrderLineConflictRepository>();
     Container.Options.AllowOverridingRegistrations = true;
 }
Beispiel #2
0
 public SupplierBookOrderUpdateUseCase(IBookOrderRepository bookOrderRepository,
                                       IBookOrderLineConflictRepository bookOrderLineConflictRepository)
 {
     _bookOrderRepository             = bookOrderRepository;
     _bookOrderLineConflictRepository = bookOrderLineConflictRepository;
 }