SilverStripe\CMS\Tests\Model\SiteTreeTest::testAllowedChildren
Tests that various types of SiteTree classes will or will not be returned from the allowedChildren method
Signature
public function testAllowedChildren(string
$className,
array
$expected,
string
$assertionMessage )
Parameters
$className
— string$expected
— array$assertionMessage
— string