public void TryUseAdoNetClustering_RefusesNullBuilder() { IClientBuilder builder = null; var error = Assert.Throws <ArgumentNullException>(() => { builder.TryUseAdoNetClustering(new ConfigurationBuilder().Build()); }); Assert.Equal("builder", error.ParamName); }