private function whenIRouteTheRequest() { $this->target = $this->router->route($this->request->request); $this->response = $this->target->respond(); }
/** * @param $str */ private function thenTheTargetShouldRespond($str) { $this->assertEquals($str, $this->target->respond()); }