public void UpdateContractTest()
        {
            var contract = new Contract(1, DateTime.Now)
            {
                PlanId = 1,
                AccountId = 1,
                ContractNumber = "CT0001",
                ActivationDate = DateTime.Today,
                EndDate = DateTime.Today.AddMonths(24),
                IMEINumber = "3902390233",
                SimCard = "2390239232",
                PhoneNumber1 = "0893827894",
                PhoneNumber2 = "123",
                AgentId = 1,
                ContractStatus = ContractStatus.Suspended,
                Data = false,
                MessageBank = false,
                UsedBy = "Mike",
                Pin = "1234",
                Puk = "1234"
            };

            bool success = contractRepository.UpdateContract(contract);
            Assert.IsTrue(success);
        }
        public void InsertContractTest()
        {
            var contract = new Contract(DateTime.Now)
            {
                PlanId = 1,
                AccountId = 2,
                ContractNumber = "CT0023",
                ActivationDate = DateTime.Today,
                EndDate = DateTime.Today.AddMonths(24),
                IMEINumber = "3902390233",
                SimCard = "2390239232",
                PhoneNumber1 = "0893827891",
                ContractStatus = ContractStatus.ApplicationSubmitted,
                Data = false,
                MessageBank = false,
                UsedBy = "Test",
                Pin = "1234",
                Puk = "1234"
            };

            contractRepository.InsertContract(contract);
            Assert.IsNotNull(contract.Id);
        }