public function testCharset() { $answer = new Http(); $this->assertInstanceOf(Http::class, $answer->setCharset('ISO-8859-1')); $this->assertEquals('iso-8859-1', $answer->getCharset()); }