public function testBrowserRedirection() { $this->response = new MockResponse(array('location' => '/')); ob_start(); $this->response->render(); ob_get_clean(); $this->assertEqual('HTTP/1.1 302 Found', $this->response->status()); }