public function testGetValue($actual, $expected) { $var = new Variable('foo', 'bar', false, false, new Location(1, 1)); $var->setValue($actual); $this->assertEquals($var->getValue(), $expected); }