public void generate_ddl() { _schema.StorageFor(typeof(User)); _schema.StorageFor(typeof(Issue)); _schema.StorageFor(typeof(Company)); var sql = _schema.ToDDL(); sql.ShouldContain("CREATE OR REPLACE FUNCTION mt_get_next_hi"); sql.ShouldContain("CREATE OR REPLACE FUNCTION mt_upsert_user"); sql.ShouldContain("CREATE OR REPLACE FUNCTION mt_upsert_issue"); sql.ShouldContain("CREATE OR REPLACE FUNCTION mt_upsert_company"); sql.ShouldContain("CREATE TABLE mt_doc_user"); sql.ShouldContain("CREATE TABLE mt_doc_issue"); sql.ShouldContain("CREATE TABLE mt_doc_company"); }