Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function testAdd() |
||
40 | { |
||
41 | $this->emailReporterMock |
||
42 | ->expects($notifySpy = $this->any()) |
||
43 | ->method('notify') |
||
44 | ->willReturn(null) |
||
45 | ; |
||
46 | |||
47 | $this->rrm->add($this->emailReporterMock); |
||
48 | $this->rrm->notifyAll(new TestResult); |
||
49 | |||
50 | $this->assertCount(1, $notifySpy->getInvocations()); |
||
51 | } |
||
52 | |||
67 |