Beispiel #1
0
 function it_uses_its_external_command_locator_to_find_correct_command(LocatorInterface $externalCommandLocator)
 {
     $externalCommandLocator->locate('phpunit')->shouldBeCalled();
     $this->getCommandLocation();
 }
Beispiel #2
0
 /**
  * @return FilesCollection
  */
 protected function getCommittedFiles()
 {
     return $this->changedFilesLocator->locate();
 }
Beispiel #3
0
 /**
  * @return FilesCollection
  */
 protected function getRegisteredFiles()
 {
     return $this->registeredFilesLocator->locate();
 }