You are here

function Braintree_Xml_ParserTest::testRootNodeAndStringRoundtrip in Commerce Braintree 7

File

braintree_php/tests/unit/Xml_ParserTest.php, line 512

Class

Braintree_Xml_ParserTest

Code

function testRootNodeAndStringRoundtrip() {
  $array = array(
    'id' => '123',
  );
  $array2 = $this
    ->xmlAndBack($array);
  $this
    ->assertEquals($array, $array2);
}