Encapsulate portlet creation in a method of AbstractTestCase