public function givenTheRequestHasTheHeader($string) { $this->request->getHeaders()->set($string, true); }
private function isMapping(WebRequest $request) { return $this->boxes->isMapping() && !$request->getHeaders()->has(self::HEADER_NO_BOXING) && $request->getFormats()->contains('html'); }
public function thenIsShouldHaveNoHeader($key) { $this->spec->assertFalse($this->request->getHeaders()->has($key)); }