sebastianbergmann/phpunit-skeleton-generator — Issue #1: Fatal Error in generated test file (incorrect namespace generated)
Author: tmysik
Created: 2012-01-16 13:15:28+00:00
State: open

Steps:
- have a sample class with namespace you want to generate a test for, e.g. [1]
- generate a test for it, e.g.
```
phpunit-skelgen --test -- '\myns\Calculator' Calculator.php '\myns\CalculatorTest' CalculatorTest.php
```
- the test is generated but its namespace is incorrect ("\myns" in this case), see result [2]

Thanks.

[1]
```php

```
[2]
```php
object = new Calculator;
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
}
```