public override void CallingIndexExistsCanAcceptTableNameWithSingleQuote() { using (var table = new Db2ISeriesTestTable("Test'Table", Processor, null, "ID INT")) { table.WithIndexOn("ID", "UI_id"); Processor.IndexExists(null, table.Name, "UI_id").ShouldBeTrue(); } }
public override void CallingIndexExistsReturnsTrueIfIndexExistsWithSchema() { using (var table = new Db2ISeriesTestTable(Processor, "TstSchma", "ID INT")) { table.WithIndexOn("ID", "UI_id"); Processor.IndexExists("TstSchma", table.Name, "UI_id").ShouldBeTrue(); } }