public parseContentNegotiationQualityValuesReturnsNormalizedAndOrderListOfPreferredValues ( string $rawValues, array $expectedValues ) | ||
$rawValues | string | The unparsed header field |
$expectedValues | array | The expected parse result |
public function parseContentNegotiationQualityValuesReturnsNormalizedAndOrderListOfPreferredValues($rawValues, $expectedValues)
{
$request = $this->getAccessibleMock(Request::class, ['dummy'], [], '', false);
$actualValues = $request->_call('parseContentNegotiationQualityValues', $rawValues);
$this->assertSame($expectedValues, $actualValues);
}