/** * Tests the float validation failure. */ public void testNumberFailure() throws ValidatorException { // Create bean to run test on. ValueBean info = new ValueBean(); valueTest(info, false); }
/** * Tests the number validation. */ public void testNumber() throws ValidatorException { // Create bean to run test on. ValueBean info = new ValueBean(); info.setValue("0"); valueTest(info, true); }