FastFeed\Tests\Processor\LimitProcessorTest::testProcess PHP 메소드

testProcess() 공개 메소드

public testProcess ( $number, $limit, $expected )
    public function testProcess($number, $limit, $expected)
    {
        $processor = new LimitProcessor($limit);
        $items = array_fill(0, $number, new Item());
        $items = $processor->process($items);
        $this->assertCount($expected, $items);
    }
LimitProcessorTest