| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function resultIsProperlyInjection() |
||
| 37 | { |
||
| 38 | $email = new Email(); |
||
| 39 | $this->mailEvent = new MailEvent($email); |
||
| 40 | $result = new MailResult($email); |
||
| 41 | $this->assertSame($this->mailEvent, $this->mailEvent->setResult($result)); |
||
| 42 | $this->assertSame($result, $this->mailEvent->getResult()); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |