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