Hi, all<br><br>I released new version of new mock objects framework BehaviorMockup (<a href="http://www.squeaksource.com/BehaviorMockup">http://www.squeaksource.com/BehaviorMockup</a> or cincom public repository).<br><br>Just see very simplest syntax:
<br><br>[:mockA :mockB | <br><div style="margin-left: 40px;">mockA someMessage.<br>mockB someMessage2] <br></div><div style="margin-left: 80px;">&nbsp;&nbsp; &nbsp;should strictly satisfy: <br></div>[:mockB :mockA :mockC| <br><div style="margin-left: 40px;">
mockA someMessage willReturn: &#39;some result&#39;.<br>mockB someMessage2 willReturn: mockC].<br></div><br>First block is tested behavior. Its args is required mock objects for this behavior.<br>Second block is behavior specification. Its args is all mock objects which are needed for modelling real objects behavior.
<br>Args in first block must have names which are equal for second block args. In debugger mock objects will have same names.<br><br>Best regards.<br>Denis<br><br><br>