### Question:
DocumentationPage extends PageImpl { @Override public void onFocus() { onFocus.execute(); view.refresh(); } DocumentationPage(DocumentationView view, String label, Command onFocus, Supplier<Boolean> isSelected); @Override void onFocus(); DocumentationView getDocumentationView();  }### Answer:
@Test public void onFocus() { tested.onFocus(); verify(focus).execute(); }