Closed ryanplusplus closed 8 years ago
It seems that this works:
blah.shouldBeCalled() .andThen(blah.shouldBeCalled()) .and(blah.shouldBeCalled());
but this doesn't:
blah.shouldBeCalled() .andThen(blah.shouldBeCalled() .and(blah.shouldBeCalled() ) );
The ordering for the second case gets mangled and strict ordering is applied to everything after the first andThen instead of just the call that was andThened.
andThen
It seems that this works:
but this doesn't:
The ordering for the second case gets mangled and strict ordering is applied to everything after the first
andThen
instead of just the call that wasandThen
ed.