PhpBench\Tests\Unit\Storage\Driver\Dbal\Visitor\SqlVisitorTest::testNonArrayIn PHP Метод

testNonArrayIn() публичный Метод

It should throw an exception if a non-array value is passed as an argument to $in.
public testNonArrayIn ( )
    public function testNonArrayIn()
    {
        $constraint = $this->prophesize(Comparison::class);
        $constraint->getComparator()->willReturn('$in');
        $constraint->getValue()->willReturn('hei');
        $constraint->getField()->willReturn('benchmark');
        $this->visitor->visit($constraint->reveal());
    }