public void RsSourceConnectorConnectInvalidProviderTest()
        {
            //change the provider information to an invalid type
            _connectionProperties.Remove("Provider");
            _connectionProperties.Add("Provider", InvalidPropertyValue);

            //call the connect method from the connector and pass in the connection properties dictionary
            _rsSourceConnector.Connect(_connectionProperties);
        }
        public void RsSourceConnectorConnectionValidTest()
        {
            //create a new instance of the sample connector
            var rsSourceConnector = new RS_SourceConnector();

            //call the connect method from the connector and pass in the connection properties dictionary
            rsSourceConnector.Connect(_connectionProperties);

            //do a check that the IsConnected flag is true ad the connection has been opened
            Assert.IsTrue(rsSourceConnector.IsConnected);
        }
        public void RsSourceConnectorDisconnectValidTest()
        {
            //create a new instance of the sample connector
            var rsSourceConnector = new RS_SourceConnector();

            //call the connect method from the connector and pass in the connection properties dictionary
            rsSourceConnector.Connect(_connectionProperties);

            //do a check that the IsConnected flag is true
            Assert.IsTrue(rsSourceConnector.IsConnected);

            //call the disconnect method from the connector
            rsSourceConnector.Disconnect();

            //do a check the connector IsConnected flag is false
            Assert.IsFalse(rsSourceConnector.IsConnected);
        }