public function assertRenders($viewName)
{
$statusResponse = $this->requestContext()->getCurrentControllerObject()->getStatusResponse();
$location = $this->requestContext()->getCurrentControllerObject()->getRedirectLocation();
if ($statusResponse != 'show') {
$this->fail("Expected render {$viewName} but was {$statusResponse} {$location}");
}
$this->assertEquals($viewName, $this->requestContext()->getCurrentControllerObject()->view->getViewName());
}