private void TestIsIndex() { _commands.ExecuteNonQuery(string.Format("create table {0} (id int)", _testTable)); string indexName = "i_" + _testTable; _dbSchema.IsIndex(indexName, _testTable).Should().BeFalse("Since index not created yet"); _commands.ExecuteNonQuery(string.Format("create unique index {0} on {1}(id)", indexName, _testTable)); _dbSchema.IsIndex(indexName, _testTable).Should().BeTrue("since index should now be created"); }