public void testMessage() throws Exception
{
Properties props = new Properties();
props.load(TestEngine.findTestProperties());
WikiEngine engine = new TestEngine(props);
InternationalizationManager i18n = engine.getInternationalizationManager();
String core = "templates.default";
Locale english = Locale.ENGLISH;
Outcome o;
o = Outcome.DECISION_APPROVE;
assertEquals("Approve", i18n.get(core, english, o.getMessageKey()));
o = Outcome.DECISION_DENY;
assertEquals("Deny", i18n.get(core, english, o.getMessageKey()));
o = Outcome.DECISION_HOLD;
assertEquals("Hold", i18n.get(core, english, o.getMessageKey()));
o = Outcome.DECISION_REASSIGN;
assertEquals("Reassign", i18n.get(core, english, o.getMessageKey()));
}