545556575859606162
*/ @Test public void testFindById() throws Exception { persistenceContext.injectAndPostConstruct(widgetBean); final Widget widget = widgetBean.findById(2); assertNotNull(widget); assertEquals(2, widget.getId().intValue()); }
616263646566676869
* @throws Exception * on exception */ @Test public void testFindById() throws Exception { final Widget widget = widgetBean.findById(2); assertNotNull(widget); assertEquals(2, widget.getId().intValue()); }