コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
        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);
        }