Cesar Farell, 3 November 2005 Having trouble mocking up the getPrimaryKey() method on an entity? Here’s what I first tried (how we “normally” do it): Mock mock = new Mock(PackagingTypeLocal.class); …