/**
* @test
* @dataProvider contentTypesBodiesAndExpectedUnifiedArguments
*/
public function convertTests($mediaType, $requestBody, array $expectedResult)
{
$this->mockPropertyMappingConfiguration->expects($this->atLeastOnce())->method('getConfigurationValue')->with(MediaTypeConverterInterface::class, MediaTypeConverterInterface::CONFIGURATION_MEDIA_TYPE)->will($this->returnValue($mediaType));
$actualResult = $this->mediaTypeConverter->convertFrom($requestBody, 'array', [], $this->mockPropertyMappingConfiguration);
$this->assertSame($expectedResult, $actualResult);
}