eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testNewContentUpdateStruct PHP Method

testNewContentUpdateStruct() public method

Test for the newContentUpdateStruct() method.
    public function testNewContentUpdateStruct()
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        $contentUpdateStruct = $contentService->newContentUpdateStruct();
        /* END: Use Case */
        $this->assertInstanceOf('eZ\\Publish\\API\\Repository\\Values\\Content\\ContentUpdateStruct', $contentUpdateStruct);
        $this->assertPropertiesCorrect(array('initialLanguageCode' => null, 'fields' => array()), $contentUpdateStruct);
    }
ContentBase