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

testProcess() public method

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