public void SubscriptionType() { //create an instance of the class we want to create clsClient AnClient = new clsClient(); //create some test data to assign to the property string TestData = "TierOne"; //assign the data to the property AnClient.SubscriptionType = TestData; //test to see that the two values are the same Assert.AreEqual(AnClient.SubscriptionType, TestData); }
public void ClientName() { //create an instance of the class we want to create clsClient AnClient = new clsClient(); //create some test data to assign to the property string TestData = "Michael"; //assign the data to the property AnClient.ClientName = TestData; //test to see that the two values are the same Assert.AreEqual(AnClient.ClientName, TestData); }
public void ClientId() { //create an instance of the class we want to create clsClient AnClient = new clsClient(); //create some test data to assign to the property Int32 TestData = 1; //assign the data to the property AnClient.ClientId = TestData; //test to see that the two values are the same Assert.AreEqual(AnClient.ClientId, TestData); }
public void BillingInformation() { //create an instance of the class we want to create clsClient AnClient = new clsClient(); //create some test data to assign to the property string TestData = "21b"; //assign the data to the property AnClient.BillingInformation = TestData; //test to see that the two values are the same Assert.AreEqual(AnClient.BillingInformation, TestData); }
public void SignUpDate() { //create an instance of the class we want to create clsClient AnClient = new clsClient(); //create some test data to assign to the property DateTime TestData = DateTime.Now.Date; //assign the data to the property AnClient.SignUpDate = TestData; //test to see that the two values are the same Assert.AreEqual(AnClient.SignUpDate, TestData); }