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