PojomaticTestUtils 1.0 API

Pojomatic Test Utils provide an enhancement to the traditional assertEquals method seen in unit test libraries, in the form of a new method, assertEqualsWithDiff. This new method has the same basic behavior as the original, with the added feature that if the two objects being asserted to be equal are in fact not equal, but have types compatible for equality, then the message of the thrown AssertionError will include the differences between the two objects as determined by Pojomatic.diff.

Because Junit and TestNG disagree as to the order of the expected and actual parameters to assertEquals, two PojomaticAssert classes are provided: PojomaticAssert and PojomaticAssert.

Packages 
Package Description
org.pojomatic.junit  
org.pojomatic.test  
org.pojomatic.testng  
Skip navigation links

Copyright © 2008–2018. All rights reserved.