标签: testing laravel-5
如何在Laravel中测试此方法?
public function getAllCities() { if (Request::isMethod('post') && Request::ajax()) { //... } }