PhpBench\Tests\Unit\Expression\ParserTest::testImplicitAnd PHP Method

testImplicitAnd() public method

It should allow implicit and.
public testImplicitAnd ( )
    public function testImplicitAnd()
    {
        $constraint = $this->parser->parse('benchmark: "foobar", subject: "barfoo", name: "daniel"');
        $this->assertEquals(new Composite('$and', new Composite('$and', new Comparison('$eq', 'benchmark', 'foobar'), new Comparison('$eq', 'subject', 'barfoo')), new Comparison('$eq', 'name', 'daniel')), $constraint);
    }