PopTest\I18n\I18nTest::testCreateXmlFileTextNotArrayException PHP Метод

testCreateXmlFileTextNotArrayException() публичный Метод

    public function testCreateXmlFileTextNotArrayException()
    {
        $this->setExpectedException('Pop\\I18n\\Exception');
        $lang = array('src' => 'en', 'output' => 'de', 'name' => 'German', 'native' => 'Deutsch');
        $locales = array(array('region' => 'DE', 'name' => 'Germany', 'native' => 'Deutschland', 'text' => '123'));
        I18n::createXmlFile($lang, $locales, __DIR__ . '/../tmp/new_de.xml');
    }