public static IAssertionResult <T, TSource> EqualTo <T, TSource>(this IValueProvider <T, TSource> provider, T expected) { return(provider.That(Is.EqualTo(expected))); }
public static IAssertionResult <bool, TSource> False <TSource>(this IValueProvider <bool, TSource> provider, string message = null, int?timeout = null) { return(provider.That(Is.EqualTo(false), message)); }
public static IAssertionResult <T, TSource> EqualTo <T, TSource>(this IValueProvider <T, TSource> provider, T expected, string message, int?timeout = null) { return(provider.That(Is.EqualTo(expected), message)); }
public static IAssertionResult <string, TSource> Contain <TSource>(this IValueProvider <string, TSource> provider, string expected, string message = null, int?timeout = null) { return(provider.That(Does.Contain(expected), message)); }
//todo прокинуть timeouts public static IAssertionResult <T, TSource> That <T, TSource>(this IValueProvider <T, TSource> valueProvider, IResolveConstraint constraint, int?timeout = null) { return(valueProvider.That(constraint, null, timeout)); }