/**
* @dataProvider getDataFormSpecifications
*/
public function testSpecifications($expected,
$yaml,
$comment) { $this->
assertEquals($expected,
var_export($this->parser->
parse($yaml), true
),
$comment);
} public static function getDataFormSpecifications() { return self::
loadTestsFromFixtureFiles('index.yml'
);
} public static function getNonStringMappingKeysData() { return self::
loadTestsFromFixtureFiles('nonStringKeys.yml'
);
} /**
* @dataProvider invalidIndentation
*/
public function testTabsAsIndentationInYaml(string
$given, string
$expectedMessage) {