编写业务API测试用列
利用Symfony2
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase中的
setUp( )函数
来现实Service的功能测试
执行指定的测试用例
phpunit.xml.dist配置文件怎么配置的?
注意所测试的接口需要返回相应的值,需要用return返回相应的值。