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