@Test
public void testExecute04() throws Exception {

    // 事前準備
    Error er = new Error("test");
    when(blogic.execute(blogicParam)).thenThrow(er);
    // テスト実施
    BLogicResult result = target.execute(applicationContext, blogic,
            blogicParam, null);
    // 結果検証
    assertEquals(255, result.getBlogicStatus());
    assertEquals(er, result.getBlogicThrowable());
    assertEquals(0, tga.size());
    assertThat(logger.getLoggingEvents(), is(asList(
            debug("[DAL025044] The BLogic detail is as follow. BLogic-class:" + blogic.getClass().getName() + ", " + blogicParam.toString()),
            error(er, "[EAL025057] An exception occurred at BLogic execution. This error log should be logged by the exception-handler, but the handler is not set."))));
}