Ejemplo n.º 1
0
 public void FindMethodOk()
 {
     //create an instance of the paymentmethod
     clsPayment Apayment = new clsPayment();
     //boolean variable to store the result of the validation
     Boolean Found = false;
     //create some test data to use with the method
     Int32 PaymentNo = 2;
     //invoke the method
     Found = Apayment.Find(PaymentNo);
     //test to see that the result is correct
     Assert.IsTrue(Found);
 }