/**
  * {@inheritdoc}
  */
 public function getFormat($locale)
 {
     if (isset($this->dateFormats[$locale])) {
         return $this->dateFormats[$locale];
     }
     $formatter = new \IntlDateFormatter($locale, \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE);
     $icuFormat = $formatter->getPattern();
     return $this->converter->convert($icuFormat);
 }
 function it_should_return_unknown_format(DateFormatConverter $converter)
 {
     $converter->convert('dd/MM/yy')->willReturn('d/m/y');
     $this->getFormat('zh_SG')->shouldReturn('d/m/y');
 }