protected function assertThatResponseHasContentType($expectedContentType) { $this->assertContains($expectedContentType, $this->response->getHeader('Content-Type')); }
protected function assertThatResponseHasNotContentType() { $this->assertEmpty($this->response->getHeader('Content-Type')); }
/** * Returns response header by name * * @param string $name * * @return string[] */ public function getHeader($name) { return $this->response->getHeader($name); }