public void PostCodeTestInvalidDataType() { //create an instance of a class clsCustomer TestCustomer = new clsCustomer(); //declare testing variable Boolean OK; //Pass data to the class library for testing OK = TestCustomer.ValidStringInvalidData("krt kfrk fdrk frk ksdk sdr"); //evaluate return value Assert.IsTrue(OK); }
public void EmailAddressTestInvalidDataType() { //create an instance of a class clsCustomer TestCustomer = new clsCustomer(); //declare testing variable Boolean OK; //Pass data to the class library for testing OK = TestCustomer.ValidStringInvalidData("Car Car Car Car Car Car Car Car"); //evaluate return value Assert.IsTrue(OK); }