Exemplo n.º 1
0
        public void TestOleDbConnectionCannotBeEstablished()
        {
            const string connectionString = "Source?";
            var          xQuery           = new XQueryOleDb(connectionString);

            Assert.IsFalse(xQuery.TestConnection());
        }
Exemplo n.º 2
0
        public void TestOleDbInstanceTypeEqualsToOleDb()
        {
            var xQuery = new XQueryOleDb();

            Assert.AreEqual(typeof(XQueryOleDb), xQuery.GetType());
        }