1 | <?php |
||
27 | class Function_Test extends TestCase |
||
28 | // @codingStandardsIgnoreEnd |
||
29 | { |
||
30 | /** @var Function_ $fixture */ |
||
31 | protected $fixture; |
||
32 | |||
33 | /** @var Fqsen */ |
||
34 | protected $fqsen; |
||
35 | |||
36 | /** @var DocBlock */ |
||
37 | protected $docBlock; |
||
38 | |||
39 | /** |
||
40 | * Creates a new (emoty) fixture object. |
||
41 | */ |
||
42 | protected function setUp() |
||
48 | |||
49 | protected function tearDown() |
||
53 | |||
54 | /** |
||
55 | * @covers ::__construct |
||
56 | * @covers ::getName |
||
57 | */ |
||
58 | public function testGetName() |
||
62 | |||
63 | /** |
||
64 | * @covers ::addArgument |
||
65 | * @covers ::getArguments |
||
66 | */ |
||
67 | public function testAddAndGetArguments() |
||
74 | |||
75 | /** |
||
76 | * @covers ::__construct |
||
77 | * @covers ::getFqsen |
||
78 | */ |
||
79 | public function testGetFqsen() |
||
83 | |||
84 | /** |
||
85 | * @covers ::__construct |
||
86 | * @covers ::getDocBlock |
||
87 | */ |
||
88 | public function testGetDocblock() |
||
92 | |||
93 | /** |
||
94 | * @covers ::getReturnType |
||
95 | * @covers ::__construct |
||
96 | */ |
||
97 | public function testGetDefaultReturnType() |
||
102 | |||
103 | /** |
||
104 | * @covers ::getReturnType |
||
105 | * @covers ::__construct |
||
106 | */ |
||
107 | public function testGetReturnTypeFromConstructor() |
||
119 | } |
||
120 |