public void TestCreateGeographicCoordinateSystem1()
 {
     try
     {
         _factory.CreateGeographicCoordinateSystem(null);
         Assertion.Fail("Should not allow a null parameter");
     }
     catch (ArgumentNullException)
     {
     }
     try
     {
         _factory.CreateGeographicCoordinateSystem("-1");
         Assertion.Fail("Should not find this record.");
     }
     catch (ArgumentException)
     {
     }
 }
        public void TestWriteGeographicCoordinateSystem()
        {
            IGeographicCoordinateSystem GeographicCoordinateSystem = _factory.CreateGeographicCoordinateSystem("4277");
            TextWriter         textwriter         = new StringWriter();
            IndentedTextWriter indentedTextWriter = new IndentedTextWriter(textwriter);

            CoordinateSystemWktWriter.Write(GeographicCoordinateSystem, indentedTextWriter);
            bool same = Compare.CompareAgainstString(Global.GetUnitTestRootDirectory() + @"\IO\GeographicCoordinateSystem.txt", textwriter.ToString());

            Assertion.AssertEquals("test 1", true, same);
        }