2016-04-27 0:33 GMT+02:00 Carlos Lombardi <[email protected]>: > ... maybe > > #result should beTheResultOf: [mock someMessage]. > #result should not beTheResultOf: [mock anotherMessage]. >
It's nice.I think "The" can be omitted: #result should beResultOf: [mock someMessage]. But anyway I use word #return because there are different types of result: value return and error signal. There is no expression for last case but it would be like: anError should beRaisedBy: [mock someMessage]
