public Object call() throws Exception {
List<IPortletDefinition> portletList = portletDefinitionDao.getPortletDefinitions();
//Just a quick assertion that this is utilizing the correct db
assertEquals(portletList.size(), 0);
//Create portletType
final IPortletType channelType = jpaChannelTypeDao.createPortletType("BaseType", "foobar");
//Create a definition
portletDefinitionDao.createPortletDefinition(channelType, "fname1", "Test Portlet 1", "Test Portlet 1 Title", "/context1", "portletName1", false);
//Create a second definition with the same app/portlet
portletDefinitionDao.createPortletDefinition(channelType, "fname2", "Test Portlet 2", "Test Portlet 2 Title", "/uPortal", "portletName2", true);
return null;