You are here

function Braintree_Xml_ParserTest::testSimpleCaseRoundtrip in Commerce Braintree 7

File

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

Class

Braintree_Xml_ParserTest

Code

function testSimpleCaseRoundtrip() {
  $array = array(
    'root' => array(
      'foo' => 'fooValue',
      'bar' => 'barValue',
    ),
  );
  $array2 = $this
    ->xmlAndBack($array);
  $this
    ->assertEquals($array, $array2);
}