@Test
public void testChangeToEndStatus07() {

    // テスト入力データ設定
    BLogicResult blogicResult = new BLogicResult();
    Exception ex = new RuntimeException("test");
    when(mockPlatformTransactionManager.getTransaction(any(
            DefaultTransactionDefinition.class))).thenThrow(ex);
    // テスト実行
    // 結果検証
    try {
        jobStatusChanger.changeToEndStatus("00000001", blogicResult);
        fail();
    } catch (Exception e) {
        assertSame(ex, e);
        verify(mockPlatformTransactionManager, never()).commit(any(
                TransactionStatus.class));
        verify(mockPlatformTransactionManager, never()).rollback(any(
                TransactionStatus.class));
    }
}