eZ\Publish\Core\REST\Server\Tests\Input\Parser\ContentUpdateTest::getContentUpdateStruct PHP Method

getContentUpdateStruct() protected method

Returns a valid RestContentMetadataUpdateStruct that matches the structure from getValidInputData().
    protected function getContentUpdateStruct()
    {
        return new RestContentMetadataUpdateStruct(array('mainLanguageCode' => 'eng-GB', 'sectionId' => 23, 'mainLocationId' => 55, 'ownerId' => 42, 'alwaysAvailable' => false, 'remoteId' => '7e7afb135e50490a281dafc0aafb6dac', 'modificationDate' => new DateTime('19/Sept/2012:14:05:00 +0200'), 'publishedDate' => new DateTime('19/Sept/2012:14:05:00 +0200')));
    }