eZ\Publish\Core\MVC\Symfony\Locale\Tests\LocaleConverterTest::testConvertToEz PHP Method

testConvertToEz() public method

public testConvertToEz ( $posixLocale, $expected )
$posixLocale
$expected
    public function testConvertToEz($posixLocale, $expected)
    {
        if ($expected === null) {
            $this->logger->expects($this->once())->method('warning');
        }
        $this->assertSame($expected, $this->localeConverter->convertToEz($posixLocale));
    }