public function testDisableBindingDoesNothingIfAlreadyDisabled()
 {
     $this->initDefaultManager();
     $this->packageFile1->addTypeDescriptor(new BindingTypeDescriptor('my/type'));
     $this->packageFile1->addBindingDescriptor($binding = new BindingDescriptor('/path', 'my/type'));
     $this->installInfo1->addDisabledBindingUuid($binding->getUuid());
     $this->discovery->expects($this->never())->method('unbind');
     $this->packageFileStorage->expects($this->never())->method('saveRootPackageFile');
     $this->manager->disableBinding($binding->getUuid());
     $this->assertTrue($binding->isDisabled());
 }