public void TestSTBdPolyFromText()
        {
            using (var db = new PostGisTestDataConnection(TestDatabaseConnectionString))
            {
                const string Wkt1 = "MULTILINESTRING ((0 0, 0 150, 150 150, 150 0, 0 0), (20 20, 50 20, 50 50, 20 50, 20 20))";
                Assert.AreEqual(
                    "SRID=23030;POLYGON((0 0,0 150,150 150,150 0,0 0),(20 20,50 20,50 50,20 50,20 20))",
                    db.Select(() => GeometryInput.STBdPolyFromText(Wkt1, 23030).STAsEWKT()));

                Assert.IsNull(db.Select(() => GeometryInput.STBdPolyFromText("MULTILINESTRING ((0 0, 0 150, 150 150, 150 0, 20 20))", 0).STAsEWKT()));

                Assert.IsNull(db.Select(() => GeometryInput.STBdPolyFromText(null, 0)));
            }
        }