| 1 | <?php |
||
| 3 | class InjiTest extends PHPUnit\Framework\TestCase { |
||
| 4 | |||
| 5 | function setUp() { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @covers Inji::listen |
||
| 11 | * @covers Inji::event |
||
| 12 | * @covers Inji::unlisten |
||
| 13 | */ |
||
| 14 | public function testNotSavingEvent() { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @covers Inji::listen |
||
| 24 | * @covers Inji::event |
||
| 25 | * @covers Inji::unlisten |
||
| 26 | */ |
||
| 27 | public function testSavingEvent() { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @covers Inji::listen |
||
| 35 | * @covers Inji::event |
||
| 36 | */ |
||
| 37 | public function testArrayWithCallback() { |
||
| 42 | } |
||
| 43 | |||
| 51 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.