function testFromXmlWithXmlResponseFormatNull() { $data = array('transaction_type' => null); $t = new TransactionTypes(); $this->assertEqual($t->fromXml($data), null); }