spec\PHPSpec2\Loader\Node\Specification::its_child_could_be_another_specification PHP Метод

its_child_could_be_another_specification() публичный Метод

public its_child_could_be_another_specification ( PHPSpec2\Loader\Node\Specification $child )
$child PHPSpec2\Loader\Node\Specification
    function its_child_could_be_another_specification($child)
    {
        $this->addChild($child);
        $this->getChildren()->shouldHaveCount(1);
    }