/**
* Run a successful test. value should be valid.
*/
private void runPassTest(String value) throws Exception {
PositiveInteger oPositiveInteger = null;
try {
oPositiveInteger = new PositiveInteger(value);
}
catch (Exception e) { // catch the validation exception
}
assertEquals("positive integer not equal" +
value, oPositiveInteger.toString(), value);
}