public void TestFirebird()
        {
            String conn =
                new ConnectionStringFirebirdFactory().GetConnectionString("testserver", "testdatasource",
                                                                          "testuser", "testpassword",
                                                                          "");

            Assert.AreEqual("Server=testserver;User=testuser;Password=testpassword;Database=testdatasource;ServerType=0", conn,
                            "ConnectionStringFactory not working for Firebird");
        }
        public void TestFirebirdNoDatabaseName()
        {
            try
            {
                String conn =
                    new ConnectionStringFirebirdFactory().GetConnectionString("sdf", "", "sasdf",
                                                                              "testpassword", "testport");

                Assert.Fail("Expected to throw an ArgumentException");
            }
            //---------------Test Result -----------------------
            catch (ArgumentException ex)
            {
                StringAssert.Contains("The server, database, password and userName of a connect string can never be empty", ex.Message);
            }
        }