function its_child_could_be_another_specification($child) { $this->addChild($child); $this->getChildren()->shouldHaveCount(1); }