public static void Between(this IExpectation <string> e, string low, string high, StringComparison comparison, string message, params object[] args) { e.Like(Matchers.BeBetween(low, high, comparison), message, (object[])args); }
public static void Between <T>(this IExpectation <T> e, T low, T high, IComparer <T> comparer, string message, params object[] args) { e.Like(Matchers.BeBetween(low, high, comparer), message, (object[])args); }
public static void AssignableFrom(this IExpectation <TypeInfo> e, Type expected, string message, params object[] args) { e.Like(Matchers.BeAssignableFrom(expected), message, (object[])args); }
public static void MemberwiseEqualTo <T>(this IExpectation <T> e, T expected, string message, params object[] args) { e.Like(Matchers.BeMemberwiseEqualTo(expected)); }
public void Apply <T>(IExpectation <T> e, T expected, Comparison <T> comparison, string message, params object[] args) { e.Like(CreateMatcher(expected, comparison), message, (object[])args); }
public static void SameAs <T>(this IExpectation <T> e, object other, string message, params object[] args) where T : class { e.Like(Matchers.BeSameAs(other), message, (object[])args); }
public void Apply <T>(IExpectation <IEnumerable <T> > e, IEnumerable <T> expected, string message, params object[] args) { e.Like(CreateMatcher(expected), message, (object[])args); }
public static void Throw(this IExpectation e, string message, params object[] args) { e.Like(Matchers.Throw(), message, (object[])args); }
public static void Match(this IExpectation <string> e, Regex expected, string message, params object[] args) { e.Like(Matchers.Match(expected), message, (object[])args); }
public static void EqualToFileContents(this IExpectation <string> e, string fileName, string message, params object[] args) { e.Like(Matchers.EqualFileContents(fileName), message, (object[])args); }
public static void EqualTo <T>(this IExpectation <T> e, T expected, IEqualityComparer <T> comparer, string message, params object[] args) { e.Like(Matchers.Equal(expected, comparer)); }
public static void EqualTo(this IExpectation <string> e, string expected, StringComparison comparison, string message, params object[] args) { e.Like(Matchers.Equal(expected, comparison)); }
public static void EndsWith(this IExpectation <string> e, string expected, string message, params object[] args) { e.Like(Matchers.EndWithSubstring(expected), message, (object[])args); }
public static void False(this IExpectation <bool> e, string message, params object[] args) { e.Like(Matchers.BeFalse(), message, (object[])args); }
public static void StartsWith(this IExpectation <string> e, string expected, StringComparison comparison, string message, params object[] args) { e.Like(Matchers.StartWithSubstring(expected, comparison), message, (object[])args); }
public static void EqualToDownloadContents(this IExpectation <string> e, Uri source, string message, params object[] args) { e.Like(Matchers.EqualDownloadContents(source), message, (object[])args); }
public static void Throw <TException>(this IExpectation e, string message, params object[] args) where TException : Exception { e.Like(Matchers.Throw <TException>(), message, (object[])args); }