public void Test_TestSqlServer()
        {
            string connectionString = @"initial catalog=EPSG;data source=localhost;Integrated Security=SSPI;";
            SqlConnection connection = new SqlConnection(connectionString);

            CoordinateSystemEPSGFactory factory = new CoordinateSystemEPSGFactory(connection);
            ILinearUnit linearUnit = factory.CreateLinearUnit("9001");
            Assertion.AssertEquals("LinearUnit - untis per meter ",1.0,linearUnit.MetersPerUnit);
            Assertion.AssertEquals("LinearUnit - Authority","EPSG",linearUnit.Authority);
            Assertion.AssertEquals("LinearUnit - Remarks","Also known as International metre.",linearUnit.Remarks);
            connection.Close();
        }
 public void Test_TestAccessDB()
 {
     IDbConnection connection = Global.GetEPSGDatabaseConnection();
     CoordinateSystemEPSGFactory factory = new CoordinateSystemEPSGFactory(connection);
     ILinearUnit linearUnit = factory.CreateLinearUnit("9001");
     Assertion.AssertEquals("LinearUnit - untis per meter ",1.0,linearUnit.MetersPerUnit);
     Assertion.AssertEquals("LinearUnit - Authority","EPSG",linearUnit.Authority);
     Assertion.AssertEquals("LinearUnit - Remarks","Also known as International metre.",linearUnit.Remarks);
     connection.Close();
 }