You are here

function Braintree_UtilTest::testExtractAttributeAsArrayReturnsEmptyArray in Commerce Braintree 7

File

braintree_php/tests/unit/UtilTest.php, line 64

Class

Braintree_UtilTest

Code

function testExtractAttributeAsArrayReturnsEmptyArray() {
  $attributes = array();
  $this
    ->assertEquals(array(), Braintree_Util::extractAttributeAsArray($attributes, "foo"));
}