function FilterDOMSerializeTestCase::testFilterEmptyDOMSerialization

Tests empty DOMDocument object.

File

modules/filter/filter.test, line 2037

Class

FilterDOMSerializeTestCase
Tests DOMDocument serialization.

Code

function testFilterEmptyDOMSerialization() {
    $document = new DOMDocument();
    $result = filter_dom_serialize($document);
    $this->assertEqual('', $result);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.