1 | <?php |
||
14 | class ExtensionsCommandTest extends AbstractCommandTest |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritDoc} |
||
18 | */ |
||
19 | public function getTestCommand() |
||
23 | |||
24 | /** |
||
25 | * Ensure that the Injector's class resolution is returned for a given Object |
||
26 | * |
||
27 | * @covers ::execute |
||
28 | */ |
||
29 | public function testExecute() |
||
42 | |||
43 | /** |
||
44 | * Ensure that the InputArgument for the object is added |
||
45 | * |
||
46 | * @covers ::configure |
||
47 | */ |
||
48 | public function testConfigure() |
||
52 | |||
53 | /** |
||
54 | * Ensure that extra headers are added for CMS pages |
||
55 | * |
||
56 | * @covers ::getHeaders |
||
57 | * @dataProvider headerProvider |
||
58 | * |
||
59 | * @param bool $isCms |
||
60 | * @param string[] $expected |
||
61 | */ |
||
62 | public function testGetHeaders($isCms, $expected) |
||
66 | |||
67 | /** |
||
68 | * @return string[] |
||
69 | */ |
||
70 | public function headerProvider() |
||
77 | |||
78 | /** |
||
79 | * Ensure that extra headers are added for CMS pages |
||
80 | * |
||
81 | * @covers ::getRows |
||
82 | * @dataProvider rowsProvider |
||
83 | * |
||
84 | * @param bool $isCms |
||
85 | * @param array $extensions |
||
86 | * @param string[] $expected |
||
87 | */ |
||
88 | public function testGetRows($isCms, $extensions, $expected) |
||
92 | |||
93 | /** |
||
94 | * @return array[] |
||
95 | */ |
||
96 | public function rowsProvider() |
||
115 | } |
||
116 |