public function testParseHeader($header, $expected) { $accepts = $this->call_private_method('Negotiation\\Negotiator', 'parseHeader', $this->negotiator, array($header)); $this->assertSame($expected, $accepts); }