assertEquals(new Double(0), t.translate(null, null, null, null));
}
public void testDoubleLow()
{
DoubleTranslator t = new DoubleTranslator("min=5.25,max=200");
try
{
t.translate(null, null, "3", null);
unreachable();
}
catch (ApplicationRuntimeException ex)
{
assertExceptionSubstring(ex, RulesMessages.minDoubleValue("3", 5.25));