public void GetConnectionStringBuilderExceptionTests() { SqlConnectionStringBuilder builder; // throws ArgumentException Assert.False(ReliableConnectionHelper.TryGetConnectionStringBuilder("IntegratedGoldFish=True", out builder)); // throws FormatException Assert.False(ReliableConnectionHelper.TryGetConnectionStringBuilder("rabbits**frogs**lizards", out builder)); }
public void GetConnectionStringBuilderNullConnectionString() { SqlConnectionStringBuilder builder; Assert.False(ReliableConnectionHelper.TryGetConnectionStringBuilder(null, out builder)); }