Esempio n. 1
0
 /**
  * @testdox fosterParent() normalizes tag names
  */
 public function testFosterParentNormalizesTagName()
 {
     $ruleset = new Ruleset();
     $ruleset->fosterParent('b');
     $this->assertEquals(['defaultChildRule' => 'allow', 'defaultDescendantRule' => 'allow', 'fosterParent' => ['B']], iterator_to_array($ruleset));
 }