public Dictionary <TKey, TResult> WithValueTest <TKey, TElement, TResult>(Dictionary <TKey, TElement> source, Func <KeyValuePair <TKey, TElement>, TResult> elementSelector) { Dictionary <TKey, TResult> result = EnumerableExtension.WithValue <TKey, TElement, TResult>(source, elementSelector); return(result); // TODO: add assertions to method EnumerableExtensionTest.WithValueTest(Dictionary`2<!!0,!!1>, Func`2<KeyValuePair`2<!!0,!!1>,!!2>) }