} /**
* Tests all of the various kinds of builders.
*
* @dataProvider builderTestData
*/
public function testBuilder($builderClass,
$expected) { $fixtures =
new Fixtures();
$drupalCoreInfo =
$fixtures->
drupalCoreComposerFixture();
$builder =
new $builderClass($drupalCoreInfo);
$generatedJson =
$builder->
getPackage();
$this->
assertEquals($expected,
$generatedJson);
}}