/**
* @dataProvider convertToEzProvider
*
* @covers eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverter::convertToEz
*
* @param $posixLocale
* @param $expected
*/
public function testConvertToEz($posixLocale, $expected)
{
if ($expected === null) {
$this->logger->expects($this->once())->method('warning');
}
$this->assertSame($expected, $this->localeConverter->convertToEz($posixLocale));
}