Neos\Flow\Tests\Unit\I18n\Cldr\CldrModelTest::returnsAttributeValueCorrectly PHP Méthode

returnsAttributeValueCorrectly() public méthode

    public function returnsAttributeValueCorrectly()
    {
        $sampleNodeString = 'dateFormatLength[@type="medium"][@alt="proposed"]';
        $this->assertEquals('medium', $this->model->getAttributeValue($sampleNodeString, 'type'));
        $this->assertEquals('proposed', $this->model->getAttributeValue($sampleNodeString, 'alt'));
        $this->assertEquals(false, $this->model->getAttributeValue($sampleNodeString, 'dateFormatLength'));
    }