/** * @covers CSanquer\FakeryGenerator\Model\Config::getLocale * @covers CSanquer\FakeryGenerator\Model\Config::setLocale */ public function testGetSetLocale() { $this->assertEquals(FakerConfig::DEFAULT_LOCALE, $this->config->getLocale()); $this->assertInstanceOf('\\CSanquer\\FakeryGenerator\\Model\\Config', $this->config->setLocale('fr_FR')); $this->assertEquals('fr_FR', $this->config->getLocale()); }