Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function setUp() |
||
29 | { |
||
30 | parent::setUp(); |
||
31 | $this->composer = new Composer(); |
||
32 | $this->composer->setConfig(new Config(true, getcwd())); |
||
33 | $this->io = $this->createMock('Composer\IO\IOInterface'); |
||
34 | $this->event = $this->getMockBuilder('Composer\Script\Event') |
||
35 | ->setConstructorArgs(['test', $this->composer, $this->io]) |
||
36 | ->getMock(); |
||
37 | |||
38 | $this->object = new Plugin(); |
||
39 | $this->object->setPackages($this->packages); |
||
40 | $this->object->activate($this->composer, $this->io); |
||
41 | } |
||
53 |