@Test
public void testGetConnection() throws SQLException {

    PoolableDataSource mockDataSrc = Mockito.mock(PoolableDataSource.class);
    Connection mockConn = Mockito.mock(Connection.class);
    Mockito.doReturn(mockConn).when(mockDataSrc).getConnection();
    JDBCCertRecordStore store = new JDBCCertRecordStore(mockDataSrc);
    assertNotNull(store.getConnection());
    store.clearConnections();
}