assertEquals("First was [first] and second was [second]!", ms.getText());
}
@Test
public void testThreeParametersForTwo() throws Exception {
MessageReference context =
MessageReference.create(ODataMessageException.class, "TWO_REPLACEMENTS").addContent("first", "second", "third");
Message ms = MessageService.getMessage(DEFAULT_LANGUAGE, context);
assertEquals("First was [first] and second was [second]!", ms.getText());
}