1 | <?php |
||
14 | class DebugCommandTest extends AbstractCommandTest |
||
15 | { |
||
16 | /** |
||
17 | * @var Member |
||
18 | */ |
||
19 | protected $member; |
||
20 | |||
21 | /** |
||
22 | * Get a member to test with |
||
23 | */ |
||
24 | public function setUp() |
||
29 | |||
30 | /** |
||
31 | * {@inheritDoc} |
||
32 | */ |
||
33 | protected function getTestCommand() |
||
37 | |||
38 | /** |
||
39 | * Test that when an invalid class name (non existent or not a DataObject) is given that an error is returned |
||
40 | */ |
||
41 | public function testErrorWhenInvalidClassNameProvided() |
||
49 | |||
50 | /** |
||
51 | * Test that when all required arguments are provided and valid the data is retrieved and output directly |
||
52 | */ |
||
53 | public function testGetDataImmediatelyWhenAllArgumentsProvidedAndSortingIsApplied() |
||
67 | |||
68 | /** |
||
69 | * Simuluating the interactive input, test that we can lookup a model by a column and a value. Also test |
||
70 | * that password columns are not returned |
||
71 | */ |
||
72 | public function testSearchMemberByColumn() |
||
86 | |||
87 | /** |
||
88 | * Ensure that table output can be returned if the option is provided |
||
89 | */ |
||
90 | public function testCanOutputAsTable() |
||
96 | |||
97 | /** |
||
98 | * Test that generic info output is provided about the class and ID |
||
99 | */ |
||
100 | public function testGenericOutputIsGivenAboutContext() |
||
108 | } |
||
109 |