public function testCreateCreateStructFromContent() { $time = time(); $mapper = $this->getMapper(); $content = $this->getContentExtractReference(); $struct = $mapper->createCreateStructFromContent($content); $this->assertInstanceOf('eZ\\Publish\\SPI\\Persistence\\Content\\CreateStruct', $struct); return array('original' => $content, 'result' => $struct, 'time' => $time); // parentLocations // fields }