/** * @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)); }