Ejemplo n.º 1
0
 /**
  * @covers Zend\Feed\Writer\Entry::getSource
  * @covers Zend\Feed\Writer\Entry::createSource
  */
 public function testGetSource()
 {
     $entry = new Writer\Entry();
     $source = $entry->getSource();
     $this->assertNull($source);
     $entry->setSource($entry->createSource());
     $this->assertInstanceOf('Zend\\Feed\\Writer\\Source', $entry->getSource());
 }