1 | <?php |
||
26 | class MethodTest extends TestCase |
||
27 | { |
||
28 | /** @var Method $fixture */ |
||
29 | protected $fixture; |
||
30 | |||
31 | private $fqsen; |
||
32 | |||
33 | private $visibility; |
||
34 | |||
35 | private $docblock; |
||
36 | |||
37 | protected function setUp() |
||
43 | |||
44 | protected function tearDown() |
||
48 | |||
49 | /** |
||
50 | * @covers ::getFqsen |
||
51 | * @covers ::getName |
||
52 | * @covers ::__construct |
||
53 | */ |
||
54 | public function testGetFqsenAndGetName() |
||
61 | |||
62 | /** |
||
63 | * @covers ::getDocblock |
||
64 | * @covers ::__construct |
||
65 | */ |
||
66 | public function testGetDocBlock() |
||
72 | |||
73 | /** |
||
74 | * @covers ::getArguments |
||
75 | * @covers ::addArgument |
||
76 | */ |
||
77 | public function testAddingAndGettingArguments() |
||
87 | |||
88 | /** |
||
89 | * @covers ::isAbstract |
||
90 | * @covers ::__construct |
||
91 | */ |
||
92 | public function testGettingWhetherMethodIsAbstract() |
||
100 | |||
101 | /** |
||
102 | * @covers ::isFinal |
||
103 | * @covers ::__construct |
||
104 | */ |
||
105 | public function testGettingWhetherMethodIsFinal() |
||
113 | |||
114 | /** |
||
115 | * @covers ::isStatic |
||
116 | * @covers ::__construct |
||
117 | */ |
||
118 | public function testGettingWhetherMethodIsStatic() |
||
126 | |||
127 | /** |
||
128 | * @covers ::getVisibility |
||
129 | * @covers ::__construct |
||
130 | */ |
||
131 | public function testGettingVisibility() |
||
136 | |||
137 | /** |
||
138 | * @covers ::getVisibility |
||
139 | * @covers ::__construct |
||
140 | */ |
||
141 | public function testGetDefaultVisibility() |
||
146 | |||
147 | /** |
||
148 | * @covers ::getReturnType |
||
149 | * @covers ::__construct |
||
150 | */ |
||
151 | public function testGetDefaultReturnType() |
||
156 | |||
157 | /** |
||
158 | * @covers ::getReturnType |
||
159 | * @covers ::__construct |
||
160 | */ |
||
161 | public function testGetReturnTypeFromConstructor() |
||
177 | } |
||
178 |