/** * */ public function testDumpPrice() { $this->videoEntity->setPrice(array('price' => '123', 'currency' => 'USD')); $this->assertRegExp('/\\<video\\:price\\ currency\\=\\"USD\\"\\>123\\<\\/video\\:price\\>/', $this->videoEntity->getXml()); }
/** * */ public function testDumpPrice() { $this->videoEntity->setPrice(array('price' => '123', 'currency' => 'USD')); $this->assertRegExp('/\\<video\\:price\\ currency\\=\\"USD\\"\\>123\\<\\/video\\:price\\>/', $this->videoEntity->getXml()); }