public void Handle(Action <T> action) { _parentAssertion.Handle(x => action(_transformation(x))); }
public void Handle(Action <IEnumerable <T> > handlerAction) { _parent.Handle(handlerAction); }
public static IAssertion <T> IsNull <T>(this IAssertion <T> assertion) { assertion.Handle(x => Assert.IsNull(x)); return(assertion); }
public static IAssertion <IEnumerable <T> > NotEmpty <T>(this IAssertion <IEnumerable <T> > assertion) { assertion.Handle(Assert.IsNotEmpty); return(assertion); }
public static IAssertion <T> EqualTo <T>(this IAssertion <T> assertion, T value) { assertion.Handle(x => Assert.AreEqual(value, x)); return(assertion); }