@Test
public void testAfterExecuteWorker04() throws Exception {

    when(
            mockJobStatusChanger.changeToEndStatus(anyString(),
                    any(BLogicResult.class))).thenReturn(false);
    AsyncJobWorkerImpl target = new AsyncJobWorkerImpl(mockBLogicResolver,
            mockBLogicExceptionHandlerResolver, 
            mockBLogicApplicationContextResolver, 
            mockJobControlFinder, 
            mockBLogicParamConverter, 
            mockBLogicExecutor, 
            mockJobStatusChanger);
    // テスト実行
    target.afterExecuteWorker("000001", null);
    verify(mockJobStatusChanger)
            .changeToEndStatus("000001", null);
    assertThat(logger.getLoggingEvents(), is(asList(error(
            "[EAL025025] Job status update error. jobSequenceId:000001 blogicStatus:null"))));
}