public void Should_Handle_Methods_Best_Effort() { var handler = new EmailHandler(); var id = P <IEmailFeature>(handler.BestEffort()).Email("Hello"); Assert.AreEqual(1, id); }
public void Should_Apply_Nested_Best_Effort() { var handler = new EmailHandler(); P <IEmailFeature>(handler.BestEffort()).CancelEmail(6); }
public void Should_Not_Propogate_Best_Effort() { var handler = new EmailHandler(); P <IEmailFeature>(handler.BestEffort()).CancelEmail(1); }