Functional\Tests\PartitionTest::testPassNoCollection PHP 메소드

testPassNoCollection() 공개 메소드

    public function testPassNoCollection()
    {
        $this->expectArgumentError('Functional\\partition() expects parameter 1 to be array or instance of Traversable');
        partition('invalidCollection', 'strlen');
    }