* @param homePage The WebPage class to start on
* @param loginPage The WebPage class to use for any Seam Authentication redirects
*/
private static SeamWebApplication createApplication(final Class homePage, final Class loginPage)
{
return new SeamWebApplication()
{
@Override
public Class getHomePage()
{
return homePage;