JeffreyWay/Laravel-4-Generators — pull request #184 by nticaric (2013-08-20 23:27:40+00:00)
Title: adding support for generating test methods for classes that already exis...

It would be a great feature if the generator could create a test class with all the methods that exist in a particular class.
For example if I have a previously created controller called `UserController` and it has the methods `index`, `edit` and `update` I would simply write:

`php artisan generate:test UserControllerTest`

and the reflector would scan if a class called `UserController` exists and extract its methods. It would than generate a template like this

```php