/** * @dataProvider charsetProvider * * @param string $clientField * @param string $serverField * @param string $best * @param MatchedPreferenceInterface[] $all */ public function testBest($clientField, $serverField, $best, array $all) { $negotiate = new Negotiation(); $resultType = $negotiate->charsetBest($clientField, $serverField); $this->assertEquals($best, $resultType); }