### Question:
MvcNavigationActionListener implements ActionListener { public void processAction(ActionEvent event) throws AbortProcessingException { FacesContext context = FacesContext.getCurrentInstance(); context.getAttributes().put(KEY, event); this.delegate.processAction(event); } MvcNavigationActionListener(ActionListener delegate); void processAction(ActionEvent event); static ActionEvent getLastActionEvent(FacesContext context);  }### Answer:
@Test public void shouldCallDelegate() throws Exception { this.listener.processAction(this.event); verify(this.delegate).processAction(this.event); }