From: Nat P. <nat...@b1...> - 2003-09-22 12:40:49
|
Create an Constraint[] array with constraint objects in it. e.g. new Constraint[] { C.eq(1), C.eq(2), C.eq(3), C.eq(4) } Cheers, Nat. _______________________ Dr. Nathaniel Pryce B13media Ltd. http://www.b13media.com +44 (0)7712 526 661 ----- Original Message ----- From: "veny" <ve...@p2...> To: "MockObject users (E-mail)" <moc...@li...>; "MockObjects devs (E-mail)" <moc...@li...> Sent: Monday, September 22, 2003 12:28 PM Subject: [MO-java-dev] ConstraintsMatcher for more than 3 input arguments? C.args()? > Hi all, > > How to use ConstraintsMatcher to verify method that has 4 input parameters? > Or is there any other way to do that? > By the way, how to use C.args(), C.args(Constraints, Constraints), > C.args(Constraints, Constraints, Constraints) methods? > > Thanks. > > Veny > > ____________________________________________ > P2H > 136 Telok Ayer St. > Singapore. 068601 > www.p2h.com.sg > > > Veny Handoko > Software Developer > > Tel : +65 6372 2473 > > Fax : +65 6225 1023 > > Mobile : +65 9681 8617 > ve...@p2... > > > -------------------------------------------------------------------------- -- > ---- > > Email disclaimer > The email, its content and any files transmitted with it are intended solely > for the addressee(s) and may be legally privileged and/or confidential. > Access by any other party is unauthorised without the express written > permission of the sender. If you received this email in error,you may not > copy or use the contents, attachments or information in any way. Please > destroy it and contact the sender on the number printed above or via email > return. Internet communications are not secure unless protected using strong > cryptography. This email has been prepared using information believed by the > author to be reliable and accurate, but P2H Pte Ltd makes no warranty as to > accuracy or completeness. In particular P2H Pte Ltd does not accept > responsibility for changes made to this email after it was sent. Any > opinions expressed in this document are those of the author and do not > necessarily reflect the opinions of P2H Pte Ltd or its affiliates. > |