I'm glad that you liked my book.
BTW You could have used assertField() to test whether a field was mapped. However, the version in the book didn't support mapping properties - not a fan of that so I never implemented.
Coincidentally, I am just in the middle of turning ORMUnit into an open-source project: cleaning up the code, implementing support for property mapping, writing some docs etc. I hope to be done in the next few days and will post an announcement to my blog.
Chris
Author, POJOs in Action -
http://www.manning.com/crichardson
Enterprise POJO consulting and training -
http://www.chrisrichardson.net
Enterprise POJOs blog -
http://chris-richardson.blog-city.com
Speaking in 2007 at JavaOne, SpringOne, and the Colorado Software Summit