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