public function testResponseStatus()
{
$postsController = new MockPostsController(array('classes' => array('response' => 'lithium\\tests\\mocks\\action\\MockControllerResponse')));
$this->assertFalse($postsController->stopped);
$postsController(null, array('action' => 'notFound'));
$result = $postsController->access('_render');
$this->assertTrue($result['hasRendered']);
$expected = array('code' => 404, 'message' => 'Not Found');
$result = $postsController->response->status;
$this->assertEqual($expected, $result);
$result = $postsController->response->body();
$this->assertEqual($expected, $result);
}