public void Apply <TValue>(IEnumerableExpectation <TValue> e, Predicate <TValue> predicate, string message, params object[] args) { e.Like(CreateMatcher(predicate), message, (object[])args); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, params TValue[] expected) { e.Like(CreateMatcher(expected)); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, string message, params object[] args) { e.Like(CreateMatcher(expected), message, (object[])args); }
public static void Element <TSource>(this IEnumerableExpectation <TSource> e, TSource item, Comparison <TSource> comparison, string message, params object[] args) { e.Like(Matchers.Contain(item, comparison), message, (object[])args); }
public static void KeyWithValue <TKey, TValue>(this IEnumerableExpectation <KeyValuePair <TKey, TValue> > e, TKey key, TValue value, string message, params object[] args) { e.Like(Matchers.HaveKeyWithValue <TKey, TValue>(key, value), message, (object[])args); }
public static void Count <TSource>(this IEnumerableExpectation <TSource> e, int count, Predicate <TSource> predicate, string message, params object[] args) { e.Like(Matchers.HaveCount(count, predicate), message, (object[])args); }