* @package taoItems */ class XmlItemContentTokenizerTest extends TestCase { public function testSimpleXmlContent() { $dom = new DOMDocument('1.0', 'UTF-8'); $dom->loadXML('

A paragraph

with some other text...
'); $tokenizer = new XmlItemContentTokenizer(); $tokens = $tokenizer->getStrings($dom); $this->assertEquals('A paragraph', $tokens[0]); $this->assertEquals('with some other text...', $tokens[1]); } }