Polyglot\PolyglotDatabaseTest::testLangHelper PHP Метод

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

public testLangHelper ( )
    public function testLangHelper()
    {
        $article = $this->createArticle();
        $fr = $article->lang();
        $this->isInstanceOf($fr, 'Polyglot\\Dummies\\RealArticleLang');
        $en = $article->lang('en');
        $this->isInstanceOf($en, 'Polyglot\\Dummies\\RealArticleLang');
    }