public function testCreationForAllLanguages() { $c = new Config($this->container); $p = new Project($this->container); foreach ($c->getLanguages() as $locale => $language) { Translator::load($locale); $this->assertNotFalse($p->create(array('name' => 'UnitTest ' . $locale)), 'Unable to create project with ' . $locale . ':' . $language); } Translator::load('en_US'); }