public void WhenCreatedWithDbFactoryThenCanReturnConnection()
		{
			var provider = new MyDriverWithWrongClassesAndGoodDbProviderFactory();
			using (var connection = provider.CreateConnection())
			{
				Assert.That(connection, Is.Not.Null);
			}
		}
		public void WhenCreatedWithDbFactoryThenCanReturnConnection()
		{
			var provider = new MyDriverWithWrongClassesAndGoodDbProviderFactory();
			using (var connection = provider.CreateConnection())
			{
				connection.Should().Not.Be.Null();
			}
		}
Exemplo n.º 3
0
        public void WhenCreatedWithDbFactoryThenCanReturnConnection()
        {
            var provider = new MyDriverWithWrongClassesAndGoodDbProviderFactory();

            using (var connection = provider.CreateConnection())
            {
                Assert.That(connection, Is.Not.Null);
            }
        }
        public void WhenCreatedWithDbFactoryThenCanReturnConnection()
        {
            var provider = new MyDriverWithWrongClassesAndGoodDbProviderFactory();

            using (var connection = provider.CreateConnection())
            {
                connection.Should().Not.Be.Null();
            }
        }