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