public function testCancelRelease_fromEscrow() { $transaction = $this->createEscrowedTransaction(); $result = Braintree\Transaction::releaseFromEscrow($transaction->id); $result = Braintree\Transaction::cancelRelease($transaction->id); $this->assertTrue($result->success); $this->assertEquals(Braintree\Transaction::ESCROW_HELD, $result->transaction->escrowStatus); }