public function testLocale()
{
$formatter = new DefaultFormatter($this->addressFormatRepository, $this->countryRepository, $this->subdivisionRepository, 'en');
$this->assertEquals('en', $formatter->getLocale());
$formatter->setLocale('fr');
$this->assertEquals('fr', $formatter->getLocale());
}