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