public function not_found_with_message() { $r = Response::notFound('No file named four-oh-four'); $this->assertEquals(new Payload('No file named four-oh-four'), $r->payload); }
public function not_found() { $r = Response::notFound(); $this->assertEquals(404, $r->status); }