| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 33 | public function testMailResultInjection() |
||
| 34 | { |
||
| 35 | $this->mailEvent = new MailEvent(new MailServiceMock()); |
||
| 36 | $result = new MailResult(); |
||
| 37 | $this->assertSame($this->mailEvent, $this->mailEvent->setResult($result)); |
||
| 38 | $this->assertSame($result, $this->mailEvent->getResult()); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |