public void AddUpdateThrowsArgumentNullException2() { var headers = new HeaderCollection(); var ex = Assert.Throws <ArgumentNullException>(() => headers.AddUpdate((IEnumerable <KeyValuePair <string, string> >)null)); Assert.Equal("headers", ex.ParamName); }
public void AddUpdateThrowsArgumentNullException2() { var headers = new HeaderCollection(); var ex = Assert.Throws<ArgumentNullException>(() => headers.AddUpdate((IEnumerable<KeyValuePair<string,string>>)null)); Assert.Equal("headers", ex.ParamName); }