public function ParserIniTest::testParse

8.0.x ParserIniTest.php public ParserIniTest::testParse($ini, $expected)
7.x ParserIniTest.php public ParserIniTest::testParse($ini, $expected)
master ParserIniTest.php public ParserIniTest::testParse($ini, $expected)

@dataProvider providerParse @covers ::parse

File

tests/Drush/Tests/Make/Parser/ParserIniTest.php, line 25

Namespace

Drush\Tests\Make\Parser

Class

ParserIniTest
@coversDefaultClass \Drush\Make\Parser\ParserIni

Code

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