}
@Test
@SuppressWarnings("unchecked")
public void shouldRenderOnHandle() throws Exception {
ViewArtifact viewArtifact = new ViewArtifact("artifact");
Postback handler = new Postback(viewArtifact, this.originalHandler);
HttpServletResponse response = mock(HttpServletResponse.class);
ModelAndView result = this.postbackHandler.handle(this.request, response, handler);
verify(this.springFacesContext).render(this.viewCaptor.capture(), (Map<String, Object>) isNull());
assertThat(((FacesView) this.viewCaptor.getValue()).getViewArtifact(), is(viewArtifact));