Open olivernybroe opened 1 year ago
Personally, I find the fluent super hard to read, as it seems the calls are connected - the 1st example. The 2nd example looks fine :+1:
Makes sense.
I agree that the second example is a much nicer place. Then let's go with that being the first thing a rector for chainable should handle.
When having multiple expect calls right after each other, this can be changed to one expect call using and statements instead
Other chainables that can be done is when it is on the same object