public void WhenSourceIsNull_ThenThrowException() { Assert.Throws <ArgumentNullException>(() => NameValueCollectionExtensions.AddOrUpdate(null, "key1", "value1")); }