outputClassChoices() публичный Метод

Output a list of possible classnames you might want to generate a test for.
public outputClassChoices ( string $type ) : array
$type string The typename to get classes for.
Результат array
Пример #1
0
 /**
  * Test generating class options for table.
  *
  * @return void
  */
 public function testOutputClassOptionsForTablePlugin()
 {
     Plugin::load('BakeTest');
     $this->Task->plugin = 'BakeTest';
     $expected = ['AuthorsTable', 'BakeArticlesTable', 'BakeTestCommentsTable', 'CommentsTable'];
     $choices = $this->Task->outputClassChoices('Table');
     $this->assertSame($expected, $choices);
 }