function Braintree_UtilTest::testVerifyKeys_arrayAsValue in Commerce Braintree 7
File
- braintree_php/
tests/ unit/ UtilTest.php, line 142
Class
Code
function testVerifyKeys_arrayAsValue() {
$signature = array(
'key',
);
$data = array(
'key' => array(
'value',
),
);
$this
->setExpectedException('InvalidArgumentException');
Braintree_Util::verifyKeys($signature, $data);
}