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