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