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

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

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