function Braintree_UtilTest::testimplodeAssociativeArray in Commerce Braintree 7
File
- braintree_php/
tests/ unit/ UtilTest.php, line 80
Class
Code
function testimplodeAssociativeArray() {
$array = array(
'test1' => 'val1',
'test2' => 'val2',
);
$string = Braintree_Util::implodeAssociativeArray($array);
$this
->assertEquals('test1=val1, test2=val2', $string);
}