/** * */ public function testImageCollection() { $imageEntity = new ImageEntity(); $imageEntity->setLocation('http://test.com/'); $this->locationEntity->addImage($imageEntity); $this->assertRegExp('/\\<image\\:image\\>\\<image\\:loc\\>http\\:\\/\\/test\\.com\\/\\<\\/image\\:loc\\>\\<\\/image\\:image\\>/', $this->locationEntity->getXml()); }
/** * */ public function testLicense() { $this->imageEntity->setLicense('License'); $this->assertRegExp('/\\<image\\:license\\>License\\<\\/image\\:license\\>/', $this->imageEntity->getXml()); }