use PHPUnit\Framework\TestCase;
use Symfony\Component\Config\Definition\Dumper\YamlReferenceDumper;
use Symfony\Component\Config\Tests\Fixtures\Configuration\ExampleConfiguration;
class YamlReferenceDumperTest extends TestCase
{ public function testDumper() { $configuration =
new ExampleConfiguration();
$dumper =
new YamlReferenceDumper();
$this->
assertEquals($this->
getConfigurationAsString(),
$dumper->
dump($configuration));
} public static function provideDumpAtPath(): array
{ return [ 'Regular node' =>
['scalar_true', <<<EOL
scalar_true: true
EOL
],