From ced6810a187bf466282d4c0805d1a12d5ba3ddf0 Mon Sep 17 00:00:00 2001 From: Christer van der Meeren Date: Tue, 12 Sep 2023 13:14:36 +0200 Subject: [PATCH] Improve docs --- DOCUMENTATION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 6d549b8..a3c9db0 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -132,7 +132,8 @@ type Assertions = AndDerived(t, t.Subject.Value) ``` -This allows users to continue asserting on the derived state (the inner value, in this case). +This allows users to continue asserting on the derived state (the inner value, in this case), for example like +this: `nullableInt.Should().HaveValue().That.Should(()).Be(2)`. Finally, let's look at a more complex assertion - a higher-order assertion that calls user assertions and which also asserts for every item in a sequence: