public function testGetCompiled()
{
Query::setCompiled([]);
$selector = '.post h2';
$xpath = '//*[contains(concat(" ", normalize-space(@class), " "), " post ")]//h2';
$compiled = [$selector => $xpath];
Query::compile($selector);
$this->assertEquals($compiled, Query::getCompiled());
}