public static IAssert <Result> Fullfills( this IAssert <Result> instance, bool succeeded, string log, string expectation) { IAssertValue <bool> succeededAssertion = succeeded ? (IAssertValue <bool>) new IsTrueAssertion() : new IsFalseAssertion(); return(instance.p(x => x.succeeded).SetAssertion(succeededAssertion) .p(x => x.actual).IsEqualTo(log) .p(x => x.expectation).IsEqualTo(expectation)); }