eZ\Publish\Core\Repository\Tests\Service\Integration\SectionBase::testNewSectionUpdateStruct PHP Метод

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

Test service function for creating new SectionUpdateStruct.
    public function testNewSectionUpdateStruct()
    {
        $sectionService = $this->repository->getSectionService();
        $sectionUpdateStruct = $sectionService->newSectionUpdateStruct();
        self::assertInstanceOf('\\eZ\\Publish\\API\\Repository\\Values\\Content\\SectionUpdateStruct', $sectionUpdateStruct);
        $this->assertPropertiesCorrect(array('identifier' => null, 'name' => null), $sectionUpdateStruct);
    }