public void InstanceOK()
        {
            //create instance of class we want to create
            clsTariffCollection AllTariffs = new clsTariffCollection();

            //test to see that it exists
            Assert.IsNotNull(AllTariffs);
        }
        public void ThisTariffPropertyOK()
        {
            //create an instance of the class
            clsTariffCollection AllTariffs = new clsTariffCollection();
            //create some test data to assign to the property
            clsTariff TestTariff = new clsTariff();

            //set the properties of the test object
            TestTariff.TariffID      = 1;
            TestTariff.TariffTexts   = "2000";
            TestTariff.TariffCalls   = "Unlimited";
            TestTariff.TariffData    = "50GB";
            TestTariff.TariffNetwork = "Vodafone";
            TestTariff.TariffPrice   = 15.99m;
            TestTariff.TariffUpfront = 10.00m;
            //assign the data to the property
            AllTariffs.ThisTariff = TestTariff;
            //test to see that the two values are the same
            Assert.AreEqual(AllTariffs.ThisTariff, TestTariff);
        }