1 | <?php |
||
7 | class ScopePointerTest extends TestCase |
||
8 | { |
||
9 | /** |
||
10 | * @covers \PHPSA\ScopePointer::__construct |
||
11 | */ |
||
12 | public function testConstructor() |
||
19 | |||
20 | /** |
||
21 | * @covers \PHPSA\ScopePointer::getObject |
||
22 | */ |
||
23 | public function testGetObject() |
||
30 | |||
31 | /** |
||
32 | * @covers \PHPSA\ScopePointer::isClassMethod() |
||
33 | */ |
||
34 | public function testIsClassMethod() |
||
43 | |||
44 | /** |
||
45 | * @covers \PHPSA\ScopePointer::isClassMethod() |
||
46 | * @dataProvider notClassMethodDataProvider |
||
47 | */ |
||
48 | public function testIsNotClassMethod($object) |
||
54 | |||
55 | /** |
||
56 | * @covers \PHPSA\ScopePointer::isFunction() |
||
57 | */ |
||
58 | public function testIsFunction() |
||
67 | |||
68 | /** |
||
69 | * @covers \PHPSA\ScopePointer::isFunction() |
||
70 | * @dataProvider notFunctionDataProvider |
||
71 | */ |
||
72 | public function testIsNotFunction($object) |
||
78 | |||
79 | public function notClassMethodDataProvider() |
||
93 | |||
94 | public function notFunctionDataProvider() |
||
108 | } |
||
109 |