/**
  *
  */
 public function testDumpPlayerLoc()
 {
     $this->videoEntity->setPlayerLoc(array('url' => 'http://test.com/'));
     $this->assertRegExp('/\\<video\\:player\\_loc>http\\:\\/\\/test\\.com\\/\\<\\/video\\:player\\_loc\\>/', $this->videoEntity->getXml());
     $this->videoEntity->setPlayerLoc(array('url' => 'http://test.com/', 'allowEmbed' => true));
     $this->assertRegExp('/\\<video\\:player\\_loc allow\\_embed\\=\\"yes\\"\\>http\\:\\/\\/test\\.com\\/\\<\\/video\\:player\\_loc\\>/', $this->videoEntity->getXml());
     $this->videoEntity->setPlayerLoc(array('url' => 'http://test.com/', 'allowEmbed' => false));
     $this->assertRegExp('/\\<video\\:player\\_loc\\ allow\\_embed\\=\\"no\\"\\>http\\:\\/\\/test\\.com\\/\\<\\/video\\:player\\_loc\\>/', $this->videoEntity->getXml());
     $this->videoEntity->setPlayerLoc(array('url' => 'http://test.com/', 'allowEmbed' => false, 'autoPlay' => 'a1'));
     $this->assertRegExp('/\\<video\\:player\\_loc\\ allow\\_embed\\=\\"no\\"\\ autoplay\\=\\"a1\\"\\>http\\:\\/\\/test\\.com\\/\\<\\/video\\:player\\_loc\\>/', $this->videoEntity->getXml());
 }