* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ExpressionLanguage\Tests\Node; use PHPUnit\Framework\TestCase; use Symfony\Component\ExpressionLanguage\Compiler; abstract class AbstractNodeTest extends TestCase { /** * @dataProvider getEvaluateData */ public function testEvaluate($expected, $node, $variables = array(), $functions = array()) { $this->assertSame($expected, $node->evaluate($functions, $variables)); } abstract public function getEvaluateData(); /** * @dataProvider getCompileData */ public function testCompile($expected, $node, $functions = array()) { $compiler = new Compiler($functions); $node->compile($compiler); $this->assertSame($expected, $compiler->getSource()); } abstract public function getCompileData(); /** * @dataProvider getDumpData */ public function testDump($expected, $node) { $this->assertSame($expected, $node->dump()); } abstract public function getDumpData(); } __halt_compiler();----SIGNATURE:----JriSfzjZ6O2H7HEjMNMgh6yTPtmL8oLb0f8XvhHYs5oFZrm8tIC+LjCfS0oXunUjJYfTwF630zVP8ErjBeict49wsGLrP9pIogT3+WAG89WhYktkUeWwcqtIBImFzcE0b2a7KNfUpVUftJ32n/ydmN80UMTlxYAKVYVtNTauWVClfxi7lZctUaS5OQs1edbD/Dk5wF9QQXRAu2cDjav/tedlh6+yLo5yE8iFBPYpp2qwyTvI7uqjjU9LxYt2g9JCrzKngbi/nIdySIxdE6vfbVXUB3TfyYuKzNUGgvwjucMRKR+tNoLJCuZ4HNOHmVMzrrTtAC2cjWISg58O+vVd4hcc5ai6obgp9GVqhRDaHfLUcttTEukW8jzlJanCqtQac0ZtjWizaH23hRYsHP/U1uQz+oy+eOeGCx9ZfjsLagGXgkYvnbPvNTIfWSDkJI28tZjcWIIHm1K53ms0f8n8eWwKrQ0GKsZoURpXIa78tv3V5fs6vx3zzBnFsIWy20xfW0d7R6hv7GUAyoZFkO6uFPgK4gcadTGlqgXIWUeFj4QPm/dH8AU51pbGzAwt25Icr3Z0tH4Er9ryNIlKuZbQGx8RfBKR8Y7mzYLXCg/E971s/+YEgSrwQM9MWtZO2i41jTOEeo9QHEeBTK0AGFhE3QUJc9R5YpSNzAACK29x7w4=----ATTACHMENT:----NzczNTMyNTE2NTQwNzAwMSA2MzcxODY0OTA2MjEwNTU2IDc3ODkyNzA1OTQzODM0NjM=