« Return to Thread: Pojo matcher

Re: Pojo matcher

by Steve Freeman-2 :: Rate this Message:

Reply to Author | View in Thread

If your object conforms to bean properties, you can use  
samePropertyValuesAs()

S.

On 4 Jun 2009, at 11:38, Thomas Richter wrote:

> Hi,
> is a Pojo matcher available somewhere?
> I have a data object with 10 attributes.
> In the expected and the invoked object are 8 attributes equal an 2  
> differs.
> I don't need a complete printout of expected and the invoked object.  
> This is
> is a bit confusing and unclear.
> What I like to have is an output like:
> Objects are not the same: attribute a and b are different.
> Is this already available?




Steve Freeman
Winner of the Agile Alliance Gordon Pask award 2006

http://www.m3p.co.uk

M3P 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


 « Return to Thread: Pojo matcher