drupalCoreComposerFixture example


  }

  /** * 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);
  }

}
Home | Imprint | This part of the site doesn't use cookies.