generate phpunit test case