public void TestValidNotCreditReturnsFalse()
        {
            Settings.GetSection("payments")["IsCreditAllowed"] = "false";
            bool IsCredit = PaymentCheck.CheckIfCreditIsAllowed(Settings);

            Assert.IsFalse(IsCredit);
        }
 public void TestInvalidIsCreditThrowsError()
 {
     Settings.GetSection("payments")["IsCreditAllowed"] = "is not credit";
     PaymentCheck.CheckIfCreditIsAllowed(Settings);
 }