public void NonPoolingConnectionStringTest() { Console.WriteLine(System.Reflection.MethodBase.GetCurrentMethod().Name); string poolingConnStr = "Server=127.0.0.1;Port=23001;User Id=user;Password=password;Database=postgres;Pooling=false;CommandTimeout=1;Encoding=UNICODE;"; StorageLayer storageLayer = new StorageLayer(); Assert.IsTrue(!storageLayer.IsPooledConnectionString(poolingConnStr), "Connection string was not correctly recognised as non pooling."); }