You are here

public function ElementsTest::testNormalizeMathMlAttribute in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/test/HTML5/ElementsTest.php \Masterminds\HTML5\Tests\ElementsTest::testNormalizeMathMlAttribute()

File

vendor/masterminds/html5/test/HTML5/ElementsTest.php, line 474

Class

ElementsTest

Namespace

Masterminds\HTML5\Tests

Code

public function testNormalizeMathMlAttribute() {
  $tests = array(
    'foo' => 'foo',
    'definitionurl' => 'definitionURL',
    'BAR' => 'bar',
  );
  foreach ($tests as $input => $expected) {
    $this
      ->assertEquals($expected, Elements::normalizeMathMlAttribute($input));
  }
}