public AssertionResult(IValueProvider <TAsserted, TSource> valueProvider)
     : this(valueProvider.LastValue(), valueProvider.Source.LastValue())
 {
 }
Пример #2
0
 public static T[] All <T, TSource>(this IValueProvider <T[], TSource> valueProvider, Action <T> assertion, IAssertionConfiguration configuration)
 {
     return(valueProvider.Filtered(assertion).Assert(x => AssertLengthEqual(x, valueProvider.LastValue().Length), configuration).GetAsserted());
 }