@SuppressWarnings("PMD.SignatureDeclareThrowsException") @Test(enabled = true) public void changeDigitsAfterDecimalForInterestToThree() throws Exception { propertiesHelper.setDigitsAfterDecimalForInterest(3); SubmitFormParameters submitFormParameters = FormParametersHelper.getWeeklyLoanProductParameters(); submitFormParameters.setMaxInterestRate("6.33333"); // invalid value submitFormParameters.setMinInterestRate("1"); submitFormParameters.setDefaultInterestRate("3"); verifyInvalidInterestInLoanProduct(submitFormParameters, false); propertiesHelper.setDigitsAfterDecimalForInterest(5); }