public function testAnyNotLinked()
 {
     $this->processor1->expects($this->any())->method('supports')->will($this->returnValue(true));
     $this->processor1->expects($this->any())->method('isLinked')->will($this->returnValue(true));
     $this->processor2->expects($this->any())->method('supports')->will($this->returnValue(true));
     $this->processor2->expects($this->any())->method('isLinked')->will($this->returnValue(false));
     $this->assertFalse($this->delegate->isLinked(new SourceMock(123)));
 }
 /**
  * @param SourceInterface $entity
  *
  * @return boolean
  */
 protected function isSourceLinked($entity)
 {
     return $this->sourceProcessor->isLinked($entity);
 }