public void SetUp()
 {
     objectProvider = new TestObjectProvider();
     cart           = objectProvider.EmptyCart();
     aBook          = objectProvider.ABook();
     otherBook      = objectProvider.OtherBook();
 }
Exemple #2
0
 public void SetUp()
 {
     objectProvider            = new TestObjectProvider();
     cashier                   = objectProvider.ACashier();
     cart                      = objectProvider.EmptyCart();
     aCartWithOneBook          = objectProvider.ACartWithOneBook();
     aCartWithTwoBook          = objectProvider.ACartWithTwoBooks();
     aCartWithTwoBookDiferents = objectProvider.ACartWithTwoDiferentsBooks();
     ACreditCard               = objectProvider.AValidCreditCard();
     anInvalidCreditCard       = objectProvider.AnInvalidCreditCard();
 }
 public void SetUp()
 {
     objectProvider = new TestObjectProvider();
 }
 public void SetUp()
 {
     TestObjectProvider = new TestObjectProvider();
     controller         = TestObjectProvider.GetAccountController();
 }