public function isInitialized()
{
// Using the fact that a repo should have at least one declared fork:
// itself
return $this->nbForks > 0;
}
public function testIsInitializedFalse() { $bundle = new Bundle('knplabs/KnpMenuBundle'); $bundle->setNbForks(1); $this->assertTrue($bundle->isInitialized()); }