### Question:
DestinationAndModel { public Object getDestination() { return this.navigationOutcome.getDestination(); } DestinationAndModel(NavigationOutcome navigationOutcome, PreRenderComponentEvent preRenderComponentEvent);  DestinationAndModel(NavigationOutcome navigationOutcome, ActionEvent actionEvent); Object getDestination(); Map<String, Object> getModel(FacesContext context, Map<String, List<String>> parameters,
			Map<String, Object> resolvedViewModel);  }### Answer:
@Test public void shouldGetDestinationFromNavigationOutcome() throws Exception { Object destination = new Object(); NavigationOutcome outcome = new NavigationOutcome(destination); DestinationAndModel dam = new DestinationAndModel(outcome, (ActionEvent) null); assertThat(dam.getDestination(), is(sameInstance(destination))); }