public void testUnrecognizedValue() throws Exception
{
Module m = newModule();
EnumerationTranslator t = new EnumerationTranslator(
"java.lang.Boolean,true=TRUE,false=FALSE");
try
{
t.translate(m, null, "fred", null);
unreachable();
}
catch (ApplicationRuntimeException ex)
{
assertExceptionSubstring(ex, "'fred' is not a recognized enumerated value.");