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