'Tests the default table creation, and ensures the table_name is created correctly and surfaced correctly
in table metadata
@since 3.1
@jira_ticket PYTHON-337
@expected_result table_name is lower case
@test_category object_mapper'

def test_sync_index_case_sensitive(self):

    sync_table(IndexCaseSensitiveModel)
    table_meta = management._get_table_metadata(IndexCaseSensitiveModel)
    self.assertIsNotNone(management._get_index_name_by_column(table_meta, 'second_key'))
    sync_table(IndexCaseSensitiveModel)
    table_meta = management._get_table_metadata(IndexCaseSensitiveModel)
    self.assertIsNotNone(management._get_index_name_by_column(table_meta, 'second_key'))
