Open codyoss opened 4 years ago
This seems like a reasonable change, but it is breaking so holding off for now.
it is breaking
Is it? Won't compile?
Because it is pure feat if it compiles.
UPD Some can make use of given func (...gomock.Call)
signature indeed. Won't compile in this case. Pure feat though for a reasonable usage.
The following changes InOrder to return the last called Call. This allows a more fluent design when using InOrder, things can be better chained together and allows composing of numerous InOrder calls.
Example:
Body here copied from #199