@Test
public void testGetConnectionException() throws SQLException {

    PoolableDataSource mockDataSrc = Mockito.mock(PoolableDataSource.class);
    Mockito.doThrow(new SQLException()).when(mockDataSrc).getConnection();
    try {
        JDBCSSHRecordStore store = new JDBCSSHRecordStore(mockDataSrc);
        store.getConnection();
        fail();
    } catch (RuntimeException ex) {
        assertTrue(true);
    }
}