public function shouldExtractFieldIfPhpFunctionWithTheSameNameExists()
{
//given
$object = new stdClass();
$object->date = '2012-05-12';
//when
$result = Functions::call(Functions::extractExpression('date'), $object);
//then
$this->assertEquals($object->date, $result);
}