Ejemplo n.º 1
0
 public function testAddsEnclosure()
 {
     $entry = new Writer\Entry();
     $entry->setEnclosure(array('type' => 'audio/mpeg', 'uri' => 'http://example.com/audio.mp3', 'length' => '1337'));
     $expected = array('type' => 'audio/mpeg', 'uri' => 'http://example.com/audio.mp3', 'length' => '1337');
     $this->assertEquals($expected, $entry->getEnclosure());
 }