Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
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->getArguments()); |
||
26 | } |
||
27 | |||
28 | public function test_named_with_arguments() |
||
33 | } |
||
34 | } |
||
35 |