Exemplo n.º 1
0
 /**
  * @covers \Core\Response\Response::setContentType
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Given arguments must of type String.
  */
 public function testSetContentTypeWithNonStrings()
 {
     $response = new Response();
     $response->setContentType(0123);
 }