Solar_Cli_MakeTests::_setFile()
protected
void
Solar_Cli_MakeTests::_setFile
( string $class
, array $api
)
Sets the file name for the test file, creating it if needed.
Parameters
(string)
$class
: The class name to work with.(array)
$api
: The list of methods in the class API to write test stubs for.
Returns
(void)
Description
Sets the file name for the test file, creating it if needed.
Uses a different class template for abstract, factory, and normal (concrete) classes. Also looks to see if this is an Adapter-based class and takes that into account.