public void FindMethodOK() { //create an instance of the class we want to create clsCustomer ACustomer = new clsCustomer(); clsReview Review = new clsReview(); //boolean to store the result of the validation Boolean Found = false; Boolean Look = false; //create some test data to use in the method Int32 CustomerID = 5; Int32 ReviewID = 4; //invoke the method Found = ACustomer.Find(CustomerID); Look = Review.Find(ReviewID); //test to see that the result is correct Assert.IsTrue(Found); Assert.IsTrue(Look); }
public void InstanceOK() { clsCustomer ACustomer = new clsCustomer(); Assert.IsNotNull(ACustomer); }