getTokensList('(expr)'), array( 'breakOnParentheses' => true, ) ); $this->assertEquals(array(), $component); } public function testParse2() { $component = ExpressionArray::parse( new Parser(), $this->getTokensList('(expr) +'), array( 'parenthesesDelimited' => true, ) ); $this->assertCount(1, $component); $this->assertEquals('(expr)', $component[0]->expr); } }