public MemcachedCacheProviderFactory(IMemcachedProviderConfig config) { Contract.NotNull(config, nameof(config)); this.config = config; }
public void Get_Cache_Provider_Null_Config_Throws() { IMemcachedProviderConfig config = null; Assert.Throws <ArgumentNullException>(() => new MemcachedCacheProviderFactory(config)); }