public void SetUp()
 {
     objectProvider = new TestObjectProvider();
     cart           = objectProvider.EmptyCart();
     aBook          = objectProvider.ABook();
     otherBook      = objectProvider.OtherBook();
 }
Beispiel #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();
 }