@Test(groups = SMALL)
public void testGetTableColumnProperlyClosesConnection() throws SQLException {

    tableMetadata.getColumnNames(TEST_TABLE_NAME);
    verify(mockedConnectionProvider).getConnection();
    verify(mockedStmt).close();
    verify(mockedConnection).close();
}