public void drop_table_throws_exception_without_tablename() { var op = new SqlDropTableOperation { SchemaName = "dbo", TableName = null }; op.ToString(); Assert.Fail(); }
public void drop_table_creates_expected_sql_with_schema_and_table() { var op = new SqlDropTableOperation {SchemaName = "dbo", TableName = "Foo"}; Assert.AreEqual("DROP TABLE [dbo].[Foo]", op.ToString()); }