Inheritance: extends PHPUnit_Framework_TestCase
Exemple #1
0
 public function setUp()
 {
     parent::setUp();
     $this->cacheMock = $this->getMockBuilder('Desarrolla2\\Cache\\CacheInterface')->disableOriginalConstructor()->getMock();
     $this->fastFeed = new FastFeed($this->httpMock, $this->loggerMock);
     $this->fastFeed->setCache($this->cacheMock);
     $this->fastFeed->addFeed('desarrolla2', 'http://desarrolla2.com/feed/');
 }
 public function setUp()
 {
     parent::setUp();
     $this->fastFeed = new FastFeed($this->httpMock, $this->loggerMock);
     $this->fastFeed->addFeed('desarrolla2', 'http://desarrolla2.com/feed/');
 }