On 22 Jun 2009, at 18:13, Thomas Richter wrote:
> 2009/6/5 Steve Freeman <
steve@...>:
>> Yes. A matcher intended for a bean will not work with a list.
>>
>> How about you tell us what you're actually trying to test, then we
>> can help
>> you.
>
> Very nice. :-)
>
> I want to compare a List of Entity. Your first idea was
> SamePropertyValuesAs.
> But this don't works for list.
>
> Something like:
> If list size is the same check with SamePropertyValuesAs each entity.
How large is this list? If it's in a unit test, it should only be a
couple of elements?
S.
Steve Freeman
Winner of the Agile Alliance Gordon Pask award 2006
http://www.m3p.co.ukM3P Limited.
Registered office. 2 Church Street, Burnham, Bucks, SL1 7HZ.
Company registered in England & Wales. Number 03689627
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email