@Test
public void testChangeToStartStatus07() {

    // テスト入力データ設定
    TransactionStatus mockTran = mock(TransactionStatus.class);
    RuntimeException re = new RuntimeException("Test exception.");
    when(mockPlatformTransactionManager.getTransaction(any(
            DefaultTransactionDefinition.class))).thenReturn(mockTran);
    when(mockSystemDao.selectJob(any(BatchJobManagementParam.class)))
            .thenThrow(re);
    // テスト実行
    // 結果検証
    try {
        assertFalse(jobStatusChanger.changeToStartStatus("00000001"));
        fail();
    } catch (Exception e) {
        assertSame(re, e);
    }
    assertThat(logger.getLoggingEvents(), is(asList(info(
            "[IAL025023] Skipped processing of updating the job status. This transaction will be attempt to roll-back. jobSequenceId:00000001"))));
    verify(mockPlatformTransactionManager, never()).commit(mockTran);
    verify(mockPlatformTransactionManager).rollback(mockTran);
}