/** * */ 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 setUp() { $this->imageEntity = new ImageEntity(); $this->imageEntity->setLocation('http://test.com/'); }