public function Util_XMLTest::testConvertAssertSelectContent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/Util/XMLTest.php \Util_XMLTest::testConvertAssertSelectContent()
File
- vendor/
phpunit/ phpunit/ tests/ Util/ XMLTest.php, line 236
Class
- Util_XMLTest
- @since Class available since Release 3.3.0 @covers PHPUnit_Util_XML
Code
public function testConvertAssertSelectContent() {
$selector = '#foo';
$content = 'div contents';
$converted = PHPUnit_Util_XML::convertSelectToTag($selector, $content);
$tag = array(
'id' => 'foo',
'content' => 'div contents',
);
$this
->assertEquals($tag, $converted);
}