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

testProcess() public method

public testProcess ( $content, $expectedImage, $pattern )
    public function testProcess($content, $expectedImage, $pattern)
    {
        $this->items[0]->setContent($content);
        if ($pattern) {
            $this->processor->addIgnoredPattern($pattern);
        }
        $this->items = $this->processor->process($this->items);
        $this->assertEquals($expectedImage, $this->items[0]->getImage());
    }