assertEquals(new Long(7), t.translate(null, null, null, null));
}
public void testLongInvalid()
{
LongTranslator t = new LongTranslator("default=13");
try
{
t.translate(null, null, "qbert", null);
unreachable();
}
catch (ApplicationRuntimeException ex)
{
assertExceptionSubstring(ex, "'qbert' is not a long value.");