fail();
}
if (result != null) {
v.afterPropertiesSet();
NumberSupport num = null;
String numStr = null;
switch (i) {
case 0:
num = v.getOperand(equalTo);
numStr = v.getEqualTo();
break;
case 1:
num = v.getOperand(notEqualTo);
numStr = v.getNotEqualTo();
break;
case 2:
num = v.getOperand(lessThan);
numStr = v.getLessThan();
break;
case 3:
num = v.getOperand(greaterThan);
numStr = v.getGreaterThan();
break;
case 4:
num = v.getOperand(lessThanOrEqualTo);
numStr = v.getLessThanOrEqualTo();
break;
case 5:
num = v.getOperand(greaterThanOrEqualTo);
numStr = v.getGreaterThanOrEqualTo();
break;
default:
fail();
}
assertEquals(result, num.getValue());
assertEquals(result.toString(), numStr);
} else {
assertInitError(v, exception(NumberFormatException.class, value)); // For input string: value
}
}