public function testQuery() { /** * @var LegacyQueryResponse $response */ $response = $this->gateway->query(['out_trade_no' => '2016092021001003280286716850'])->send(); $this->assertFalse($response->isSuccessful()); }