eZ\Publish\Core\Repository\Tests\Service\Integration\NameSchemaBase::testResolve PHP Метод

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

Test eZ\Publish\Core\Repository\Helper\NameSchemaService method.
public testResolve ( $nameSchema, $expectedName )
    public function testResolve($nameSchema, $expectedName)
    {
        $service = $this->repository->getNameSchemaService();
        list($content, $contentType) = $this->buildTestObjects();
        $name = $service->resolve($nameSchema, $contentType, $content->fields, $content->versionInfo->languageCodes);
        self::assertEquals($expectedName, $name);
    }