public void Can_add_new_product()
 {
     var product = new PaymentAttempt { FirstName = "Joe", AccountNumber = "12345678", 
         Amount = 10.0m, LastName = "Bloggs", SortCode="102033"};
     IPaymentAttemptRepository repository = new PaymentAttemptRepository();
     repository.Add(product);
 }
 public void Can_get_existing_product_by_id()
 {
     IPaymentAttemptRepository repository = new PaymentAttemptRepository();
     var fromDb = repository.GetById(_paymentAttempts[1].Id);
     Assert.IsNotNull(fromDb);
     Assert.AreNotSame(_paymentAttempts[1], fromDb);
     Assert.AreEqual(_paymentAttempts[1].AccountNumber, fromDb.AccountNumber);
 }