public function testConvertMediaItems()
 {
     $xml = '<?xml version="1.0" encoding="UTF-8"?>
         <mediaItem xmlns="http://ns.opensocial.org/2008/opensocial">
           <id>11223344</id>
           <thumbnailUrl>http://pages.example.org/images/11223344-tn.png</thumbnailUrl>
           <mimeType>image/png</mimeType>
           <type>image</type>
           <url>http://pages.example.org/images/11223344.png</url>
           <albumId>44332211</albumId>
         </mediaItem>';
     $mediaItem = $this->inputXmlConverter->convertMediaItems($xml);
     $this->assertEquals('11223344', $mediaItem['id']);
     $this->assertEquals('http://pages.example.org/images/11223344-tn.png', $mediaItem['thumbnailUrl']);
     $this->assertEquals('44332211', $mediaItem['albumId']);
     $this->assertEquals('http://pages.example.org/images/11223344.png', $mediaItem['url']);
     $this->assertEquals('image/png', $mediaItem['mimeType']);
 }
 /**
  * Tests InputXmlConverter->convertPeople()
  */
 public function testConvertPeople()
 {
     $this->setExpectedException(Exception);
     $this->InputXmlConverter->convertPeople('');
 }