eZ\Publish\Core\REST\Client\Tests\Values\ContentType\ContentTypeTest::testGetDescription PHP Метод

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

public testGetDescription ( )
    public function testGetDescription()
    {
        $contentType = new ContentType($this->contentTypeServiceMock, array('descriptions' => array('eng-US' => 'Sindelfingen', 'eng-GB' => 'Bielefeld')));
        $this->assertEquals('Sindelfingen', $contentType->getDescription('eng-US'));
        $this->assertEquals('Bielefeld', $contentType->getDescription('eng-GB'));
    }