/**
  * @covers Yosmanyga\Validation\Resource\Normalizer\YamlFile\ExpressionNormalizer::normalize
  */
 public function testNormalize()
 {
     $normalizer = new ExpressionNormalizer();
     $definition = new ExpressionDefinition();
     $definition->expression = 'foo';
     $this->assertEquals($definition, $normalizer->normalize(array('value' => array('expression' => 'foo')), new Resource()));
 }
 /**
  * {@inheritdoc}
  */
 public function normalize($data, Resource $resource)
 {
     return $this->yamlFileNormalizer->normalize($data, $resource);
 }