Ejemplo n.º 1
0
 public void DoesNotContainKeyWithValue <TKey, TValue>(TKey key, TValue value, IEnumerable <KeyValuePair <TKey, TValue> > collection, string message, params object[] args)
 {
     NotThat(collection, Matchers.HaveKeyWithValue <TKey, TValue>(key, value), message, args);
 }
Ejemplo n.º 2
0
 public static void KeyWithValue <TKey, TValue>(this IEnumerableExpectation <object> e, TKey key, TValue value, string message, params object[] args)
 {
     e.As <IEnumerable <KeyValuePair <TKey, TValue> > >().Like(Matchers.HaveKeyWithValue <TKey, TValue>(key, value), message, (object[])args);
 }