public function testCapture()
{
/**
* @var AopTradePayResponse $response
*/
$response = $this->gateway->capture(['biz_content' => ['out_trade_no' => date('YmdHis') . mt_rand(1000, 9999), 'scene' => 'bar_code', 'auth_code' => '288412621343841260', 'subject' => 'test', 'total_amount' => '0.01']])->setPollingAttempts(1)->send();
$this->assertArrayHasKey('alipay_trade_pay_response', $response->getData());
$this->assertFalse($response->isSuccessful());
}