Esempio n. 1
0
 public override void Given()
 {
     _newProduct = ObjectMother.CreateNewProductInputModelWith(price: 1000000001); // More than 1 million is not allowed
     _dao        = new ProductStoringDAOFake(numberIsAlreadyUsed: false, titleIsAlreadyUsed: false);
 }
Esempio n. 2
0
 public override void Given()
 {
     _newProduct = _someValidProduct;
     _dao        = new ProductStoringDAOFake(numberIsAlreadyUsed: false, titleIsAlreadyUsed: true);
 }