getName() публичный Метод

public getName ( )
Пример #1
0
 public function setUp()
 {
     $this->processHelper = $this->getMock('Gush\\Helper\\ProcessHelper');
     $this->filesystemHelper = $this->prophesize('Gush\\Helper\\FilesystemHelper');
     $this->filesystemHelper->getName()->willReturn('filesystem');
     $this->gitConfigHelper = $this->prophesize('Gush\\Helper\\GitConfigHelper');
     $this->gitConfigHelper->setHelperSet(Argument::any());
     $this->gitConfigHelper->getName()->willReturn('git_config');
     $this->realFsHelper = new FilesystemHelper();
     $this->git = new GitHelper(new ProcessHelper(), $this->gitConfigHelper->reveal(), $this->realFsHelper);
     $this->unitGit = new GitHelper($this->processHelper, $this->gitConfigHelper->reveal(), $this->filesystemHelper->reveal());
 }