public function testConstruct() { $this->expectException(\LogicException::class); $encoding = new Encoding(); }