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