You are here

function Braintree_Xml_ParserTest::xmlAndBack in Commerce Braintree 7

5 calls to Braintree_Xml_ParserTest::xmlAndBack()
Braintree_Xml_ParserTest::testArrayRoundtrip in braintree_php/tests/unit/Xml_ParserTest.php
Braintree_Xml_ParserTest::testBooleanRoundtrip in braintree_php/tests/unit/Xml_ParserTest.php
Braintree_Xml_ParserTest::testRootNodeAndStringRoundtrip in braintree_php/tests/unit/Xml_ParserTest.php
Braintree_Xml_ParserTest::testSimpleCaseRoundtrip in braintree_php/tests/unit/Xml_ParserTest.php
Braintree_Xml_ParserTest::testTimestampRoundtrip in braintree_php/tests/unit/Xml_ParserTest.php

File

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

Class

Braintree_Xml_ParserTest

Code

function xmlAndBack($array) {
  $xml = Braintree_Xml::buildXmlFromArray($array);
  return Braintree_Xml::buildArrayFromXml($xml);
}