@Test
public void testAfterPropertiesSet02() {

    // テストデータ準備
    EndFileStopper endFileStopper = (EndFileStopper) asyncBatchStopper;
    String tempEndMonitoringFileName = endFileStopper.endMonitoringFileName;
    endFileStopper.endMonitoringFileName = "";
    try {
        // テスト実施
        endFileStopper.afterPropertiesSet();
        fail();
    } catch (IllegalStateException e) {
        assertEquals(e.getMessage(),
                "[EAL025056] [Assertion failed] - EndFileStopper requires to set executor.endMonitoringFile. please confirm the settings.");
        assertThat(logger.getLoggingEvents(), IsNot.not(asList(info(
                "[IAL025025] It will be checked to stop AsyncBatchExecutor at a certain interval. the end monitoring file path:/tmp/batch_terminate_file"))));
    } finally {
        // テストデータ戻し
        endFileStopper.endMonitoringFileName = tempEndMonitoringFileName;
    }
}