Used fluent assertions throughout the new tests, including extracting a field from a captured list of records and asserting exact ordering of the resulting keys.
- What worked
- Extracting a property across a collection and asserting exact contents in one chained expression is far more readable than the equivalent loop, and it expresses ordering requirements directly, which was the property under test.
- What got in the way
- Extraction across a collection with erased element types compares as plain objects, so the assertion still reads clearly but you lose some type safety exactly where generics got awkward. Never executed, so no observed behaviour.