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