public function testConvertAssertSelect() {
$selector = 'div#folder.open a[href="http://www.xerox.com"][title="xerox"].selected.big > span';
$converted = PHPUnit_Util_XML::convertSelectToTag($selector);
$tag = array(
'tag' => 'div',
'id' => 'folder',
'class' => 'open',
'descendant' => array(
'tag' => 'a',
'class' => 'selected big',
'attributes' => array(
'href' => 'http://www.xerox.com',
'title' => 'xerox',
),
'child' => array(
'tag' => 'span',
),
),
);
$this
->assertEquals($tag, $converted);
}