public function Util_XMLTest::testAssertValidKeysValidKeys in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/Util/XMLTest.php \Util_XMLTest::testAssertValidKeysValidKeys()
File
- vendor/
phpunit/ phpunit/ tests/ Util/ XMLTest.php, line 17
Class
- Util_XMLTest
- @since Class available since Release 3.3.0 @covers PHPUnit_Util_XML
Code
public function testAssertValidKeysValidKeys() {
$options = array(
'testA' => 1,
'testB' => 2,
'testC' => 3,
);
$valid = array(
'testA',
'testB',
'testC',
);
$expected = array(
'testA' => 1,
'testB' => 2,
'testC' => 3,
);
$validated = PHPUnit_Util_XML::assertValidKeys($options, $valid);
$this
->assertEquals($expected, $validated);
}