FastFeed\Tests\Processor\PathProcessorTest::testProcess PHP Méthode

testProcess() public méthode

public testProcess ( $expected, $actual, $source )
    public function testProcess($expected, $actual, $source)
    {
        $this->items[0]->setIntro($actual);
        $this->items[0]->setContent($actual);
        $this->items[0]->setSource($source);
        $this->items = $this->processor->process($this->items);
        $this->assertEquals($expected, $this->items[0]->getIntro());
        $this->assertEquals($expected, $this->items[0]->getContent());
    }