public static void Key <TKey>(this IEnumerableExpectation e, TKey key, string message, params object[] args) { e.As <IEnumerable>().Like(Matchers.HaveKey(key), message, (object[])args); }
public static IExpectation <TSource> AtLeast <TSource>(this IEnumerableExpectation e, int min) { return(e.Cast <TSource>().AtLeast(min)); }
public static IExpectation <TSource> Between <TSource>(this IEnumerableExpectation e, int min, int max) { return(e.Cast <TSource>().Between(min, max)); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e) { Apply(e, null, (object[])null); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, Predicate <TValue> predicate) { Apply(e, predicate, null, (object[])null); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, Comparison <TValue> comparison) { Apply <TValue>(e, expected, comparison, message: null); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, Comparison <TValue> comparison, string message, params object[] args) { e.Like(CreateMatcher(expected, comparison), 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 Substring(this IEnumerableExpectation e, string substring) { Substring(e, substring, (string)null); }
public static void Element <TSource>(this IEnumerableExpectation <TSource> e, TSource item, IEqualityComparer <TSource> comparer) { Element <TSource>(e, item, comparer, (string)null); }
public static void Element <TSource>(this IEnumerableExpectation <TSource> e, TSource item, Comparison <TSource> comparison) { Element <TSource>(e, item, comparison, (string)null); }
public static void Element <TSource>(this IEnumerableExpectation <TSource> e, TSource item) { Element <TSource>(e, item, (string)null); }
public static void Element(this IEnumerableExpectation e, object item, string message, params object[] args) { e.Cast <object>().Like(Matchers.Contain(item), message, (object[])args); }
public static void Element(this IEnumerableExpectation e, object item) { Element(e, item, (string)null); }
public static void Length <TSource>(this IEnumerableExpectation <TSource> e, int length, string message, params object[] args) { e.Self.Like(Matchers.HaveLength(length), message, (object[])args); }
public static void Substring(this IEnumerableExpectation e, string substring, StringComparison comparison) { Substring(e, substring, comparison, null); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, IEqualityComparer <TValue> comparer) { Apply <TValue>(e, expected, comparer, message: null); }
public static void Substring(this IEnumerableExpectation e, string substring, StringComparison comparison, string message, params object[] args) { e.As <string>().Like(Matchers.ContainSubstring(substring, comparison), message, (object[])args); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected) { Apply <TValue>(e, expected, message: null); }
public static void OverlapWith <TValue>(this IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, Comparison <TValue> comparison) { Operators.Overlap.Apply(e, expected, comparison); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, params TValue[] expected) { e.Like(CreateMatcher(expected)); }
public static void OverlapWith <TValue>(this IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, IEqualityComparer <TValue> comparer) { Operators.Overlap.Apply(e, expected, comparer); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, string message, params object[] args) { e.As <IEnumerable>().Like(CreateMatcher(), message, (object[])args); }
public static void OverlapWith <TValue>(this IEnumerableExpectation <TValue> e, IEnumerable <TValue> expected, IEqualityComparer <TValue> comparer, string message, params object[] args) { Operators.Overlap.Apply(e, expected, comparer, message, args); }
public void Apply <TValue>(IEnumerableExpectation <TValue> e, Predicate <TValue> predicate, string message, params object[] args) { e.Like(CreateMatcher(predicate), message, (object[])args); }
public static void OverlapWith <TValue>(this IEnumerableExpectation <TValue> e, params TValue[] expected) { Operators.Overlap.Apply(e, expected); }
public static IExpectation <TSource> AtMost <TSource>(this IEnumerableExpectation e, int max) { return(e.Cast <TSource>().AtMost(max)); }
public static void Length <TSource>(this IEnumerableExpectation <TSource> e, int length) { Length <TSource>(e, length, null); }
public static IExpectation <TSource> None <TSource>(this IEnumerableExpectation e) { return(e.Cast <TSource>().None); }
public static void Key <TKey>(this IEnumerableExpectation e, TKey key) { Key(e, key, null); }