1 | <?php |
||
7 | class ScopePointerTest extends TestCase |
||
8 | { |
||
9 | /** |
||
10 | * @covers \PHPSA\ScopePointer::getObject |
||
11 | */ |
||
12 | public function testGetObject() |
||
19 | |||
20 | /** |
||
21 | * @covers \PHPSA\ScopePointer::isClassMethod() |
||
22 | */ |
||
23 | public function testIsClassMethod() |
||
32 | |||
33 | /** |
||
34 | * @covers \PHPSA\ScopePointer::isClassMethod() |
||
35 | * @dataProvider notClassMethodDataProvider |
||
36 | */ |
||
37 | public function testIsNotClassMethod($object) |
||
43 | |||
44 | /** |
||
45 | * @covers \PHPSA\ScopePointer::isFunction() |
||
46 | */ |
||
47 | public function testIsFunction() |
||
56 | |||
57 | /** |
||
58 | * @covers \PHPSA\ScopePointer::isFunction() |
||
59 | * @dataProvider notFunctionDataProvider |
||
60 | */ |
||
61 | public function testIsNotFunction($object) |
||
67 | |||
68 | public function notClassMethodDataProvider() |
||
82 | |||
83 | public function notFunctionDataProvider() |
||
97 | } |
||
98 |