@Test public void testHomePage() throws Exception { WebApplication app = new MyWicketApp(); assertEquals(MyHomePage.class, app.getHomePage()); }
@Override public Class<? extends Page> getHomePage() { return MyHomePage.class; }
MyWicketApp extends WebApplication { @Override public Class<? extends Page> getHomePage() { return MyHomePage.class; } }
MyWicketApp extends WebApplication { @Override public Class<? extends Page> getHomePage() { return MyHomePage.class; } MyWicketApp(); }
MyWicketApp extends WebApplication { @Override public Class<? extends Page> getHomePage() { return MyHomePage.class; } MyWicketApp(); @Override Class<? extends Page> getHomePage(); }
MyWicketApp extends WebApplication { @Override public Class<? extends Page> getHomePage() { return MyHomePage.class; } MyWicketApp(); @Override Class<? extends Page> getHomePage();  }