コード例 #1
0
 /**
  * @param ElementInterface        $element
  * @param string|ElementInterface $children
  * @param bool                    $supports
  * @dataProvider testIsAllowedTrueDataProvider
  */
 public function testIsAllowed(ElementInterface $element, $children, $supports)
 {
     $this->assertEquals($element->isAllowed($children), $supports);
 }