Module
should export Builder class
should export Parser class
should export parse function
should export build function
Builder
#build
should fail without document
should fail with non-document passed
Parser
#parse
should fail without document element
should forward parser errors
should fail with second root element
should return document instance if everything worked
Document
#textContent
should return null
Node
#cloneNode
should result in a node
should not inherit parent
should return empty string for empty node
should return child nodes' text content
TextNode
should return text content