@Test
public void testGetMessage05() {

    MessageManager manager = new MessageManager("jp/terasoluna/fw/message/terasoluna-logger04.properties");
    try {
        manager.getMessage(true, "message02");
        fail("例外が発生しませんでした");
    } catch (Exception e) {
        e.printStackTrace();
        assertEquals(
                "message pattern is illeagal. pattern=メッセージ02{a}] logId=message02",
                e.getMessage());
        assertEquals(MessageRuntimeException.class, e.getClass());
    }
}