DATAJPA-308 - Improved test case to satisfy Java 6 compiler.

Added explicit type hints to matchers as the code won't compile under JDK 6 otherwise.