public TestApplicationHostBuilder(string[] args, string applicationName, Container container) : base(args, applicationName, container) { BookOrderRepositoryInMemory = new BookOrderRepositoryInMemory(); BookSupplierGatewayInMemory = new BookSupplierGatewayInMemory(); MockBookOrderLineConflictRepository = Substitute.For <IBookOrderLineConflictRepository>(); container.Options.AllowOverridingRegistrations = true; }
public SendBookOrderUseCaseTests() { _bookOrderRepository = new BookOrderRepository(); _bookSupplierGatewayInMemory = new BookSupplierGatewayInMemory(); }