public function generateProperties($type, $subject, $fullClassName)
{
$type = strtolower($type);
$properties = [];
switch (strtolower($type)) {
case 'cell':
$properties[] = ['description' => 'Request mock', 'type' => '\\Cake\\Network\\Request|\\PHPUnit_Framework_MockObject_MockObject', 'name' => 'request'];
$properties[] = ['description' => 'Response mock', 'type' => '\\Cake\\Network\\Response|\\PHPUnit_Framework_MockObject_MockObject', 'name' => 'response'];
break;
case 'shell':
case 'task':
$properties[] = ['description' => 'ConsoleIo mock', 'type' => '\\Cake\\Console\\ConsoleIo|\\PHPUnit_Framework_MockObject_MockObject', 'name' => 'io'];
break;
case 'shell_helper':
$properties[] = ['description' => 'ConsoleOutput stub', 'type' => '\\Cake\\TestSuite\\Stub\\ConsoleOutput', 'name' => 'stub'];
$properties[] = ['description' => 'ConsoleIo mock', 'type' => '\\Cake\\Console\\ConsoleIo', 'name' => 'io'];
break;
}
if ($type !== 'controller') {
$properties[] = ['description' => 'Test subject', 'type' => '\\' . $fullClassName, 'name' => $subject];
}
return $properties;
}