public EventStoreTests(DependencyInjectionFixture diFixture) { var tables = diFixture.Container.GetRequiredService <IDictionary <string, CloudTable> >(); _aggregateId = new CarId(Guid.NewGuid()); _container = diFixture.Container; _eventStoreTable = tables[ContainerName.EventStore]; _azureTableHelper = new AzureTableHelper <DynamicTableEntity>(4); }
public RepositoryTests(DependencyInjectionFixture diFixture) { var tables = diFixture.Container.GetRequiredService <IDictionary <string, CloudTable> >(); // These variables are reset per unit test _carId = new CarId(Guid.NewGuid()); _azureTableHelper = new AzureTableHelper <DynamicTableEntity>(); _repository = diFixture.Container.GetRequiredService <IAggregateRepository <Car, CarId> >(); _eventStoreTable = tables[ContainerName.EventStore]; }
public TenantTest(ITestOutputHelper outputHelper, DependencyInjectionFixture dependencyInjection) : base(outputHelper, dependencyInjection) { }
public InstructorTest(ITestOutputHelper outputHelper, DependencyInjectionFixture dependencyInjection) : base(outputHelper, dependencyInjection) { }
public CourseMaterialTest(ITestOutputHelper outputHelper, DependencyInjectionFixture dependencyInjection) : base(outputHelper, dependencyInjection) { }
public PaymentViewMappingTests(DependencyInjectionFixture diFixture) { _mapper = diFixture.Container.GetRequiredService <IMapper>(); }
public AuthenticationTest(ITestOutputHelper outputHelper, DependencyInjectionFixture dependencyInjection) : base(outputHelper, dependencyInjection) { }
public Retrieving_a_payment_details(DependencyInjectionFixture diFixture) { _client = new PaymentGatewayClient(diFixture.HttpClient); }
public Submitting_a_new_payment_request(DependencyInjectionFixture diFixture) { _client = new PaymentGatewayClient(diFixture.HttpClient); }
public EmailTemplateServiceTests(ITestOutputHelper outputHelper, DependencyInjectionFixture dependencyInjection) : base(outputHelper, dependencyInjection) { }