{!! '<?'.'php' !!}

use function phln\{{$ns}}\{{$name}};
use const phln\{{$ns}}\{{$name}};

class {{ ucfirst("{$name}Test") }} extends \PHPUnit_Framework_TestCase
{
}

{!! '<?'.'php' !!}

use const phln\{{$ns}}\{{$name}};

class {{ ucfirst("{$name}Test") }} extends \Phln\Build\PhpUnit\TestCase
{
    public function getTestedFn(): string
    {
        return {{$name}};
    }

    /** @test */
    public function it_works()
    {
        $this->assertTrue($this->callFn());
    }
}

Update functions unit test template
Update functions unit test template
