| Total Complexity | 3 | 
| Total Lines | 21 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php | ||
| 12 | class HasNameTraitTest extends AbstractTest | ||
| 13 | { | ||
| 14 | public function testGetNameEmpty() | ||
| 19 | } | ||
| 20 | |||
| 21 | public function test_named() | ||
| 22 |     { | ||
| 23 |         $event = Event::named('test'); | ||
| 24 |         $this->assertSame('test', $event->getName()); | ||
| 25 | $this->assertSame([], $event->arguments); | ||
| 26 | } | ||
| 27 | |||
| 28 | public function test_named_with_arguments() | ||
| 33 | } | ||
| 34 | } | ||
| 35 |