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