Exemplo n.º 1
0
 public CardTests(TinyBankFixture fixture)
 {
     _cardService    = fixture.GetService <ICardService>();
     _accountService = fixture.GetService <IAccountService>();
     _customerTests  = new CustomerServiceTests(fixture);
     _accountTests   = new AccountServiceTests(fixture);
     _dbContext      = fixture.DbContext;
 }
Exemplo n.º 2
0
 public AccountServiceTests(TinyBankFixture fixture)
 {
     _accounts      = fixture.GetService <IAccountService>();
     _customerTests = new CustomerServiceTests(fixture);
 }
Exemplo n.º 3
0
 public CardTests(TinyBankFixture fixture)
 {
     _dbContext     = fixture.DbContext;
     _customerTests = new CustomerServiceTests(fixture);
 }