Functional\Tests\ContainsTest::testPassNoCollection PHP Method

testPassNoCollection() public method

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