inside phpunit test pattern