Author Login
Post Reply
2008/4/30 Steve Freeman <steve@(protected)>:
> This what you got:
>
>
> accountService.registerNewAccount(<ext.se.ArrayOfAccount@(protected)>)
>
> this is what you expected:
>
>
> accountService.registerNewAccount(<ext.se.ArrayOfAccount@(protected)>);
>
> They're different instances. You need to either write a matcher or an
> equals method.
Also, I'd write a toString method so that you can see what the
difference is. As it stands, the error message is not very helpful.
--Nat
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email