FastFeed\Tests\Processor\StripTagsProcessorTest::testProcess PHP Method

testProcess() public method

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