public function ParserYamlTest::testParse

8.0.x ParserYamlTest.php public ParserYamlTest::testParse($yaml, $expected)
7.x ParserYamlTest.php public ParserYamlTest::testParse($yaml, $expected)
master ParserYamlTest.php public ParserYamlTest::testParse($yaml, $expected)

@dataProvider providerParse @covers ::parse

File

tests/Drush/Tests/Make/Parser/ParserYamlTest.php, line 26

Namespace

Drush\Tests\Make\Parser

Class

ParserYamlTest
@coversDefaultClass \Drush\Make\Parser\ParserYaml

Code

public function testParse($yaml, $expected) {
  $parsed = ParserYaml::parse($yaml);
  $this->assertSame($expected, $parsed);
}