### Question:
BasePhonebookApplication extends WebApplication { @Override public Class<? extends Page> getHomePage() { return ListContactsPage.class; }  @Override Class<? extends Page> getHomePage(); abstract ApplicationContext context();  }### Answer:
@Test public void testHomePageShouldListContacts() throws Exception { PhonebookApplicationForTesting app = new PhonebookApplicationForTesting(); assertEquals(ListContactsPage.class, app.getHomePage()); }