21 public function testGetters($event_name, PackageInterface $package,
$url, $description) {
22 $patch_event =
new PatchEvent($event_name, $package,
$url, $description);
23 $this->assertEquals($event_name, $patch_event->getName());
24 $this->assertEquals($package, $patch_event->getPackage());
25 $this->assertEquals(
$url, $patch_event->getUrl());
26 $this->assertEquals($description, $patch_event->getDescription());
30 $prophecy = $this->prophesize(
'Composer\Package\PackageInterface');
31 $package = $prophecy->reveal();
Create styles array
The data for the language used.
testGetters($event_name, PackageInterface $package, $url, $description)
Tests all the getters.