*
* @throws Exception if the test fails
*/
public void testRetrieveByPk() throws Exception
{
ObjectKey primaryKey = authorList.get(1).getPrimaryKey();
Author author = AuthorPeer.retrieveByPK(primaryKey);
assertEquals("Expected author with Id "
+ authorList.get(1).getAuthorId()
+ " at first position but got "
+ author.getAuthorId(),