public void WhenSourceIsNull_ThenThrowException() { Assert.Throws <ArgumentNullException>(() => DictionaryExtensions.ContainsAnyKey(null as Dictionary <string, string>, "key1")); }