public testConstructorRaisesExceptionForInvalidBody ( $body ) |
public function testConstructorRaisesExceptionForInvalidBody($body)
{
$this->setExpectedException('InvalidArgumentException', 'stream');
new Response($body);
}