/** * verify that we always get an array, even if empty, when getting * data from the underlying implementation */ public function testGetShowOutputReturnArray() { $remote = new Remote($this->getRepository()); $actual = $remote->getShowOutput(); $this->assertTrue(is_array($actual), 'getShowOutput() returns array'); }
/** * @param string $name remote name * @param bool $queryRemotes Fetch new information from remotes * * @return \GitElephant\Objects\Remote */ public function getRemote($name, $queryRemotes = true) { return Remote::pick($this, $name, $queryRemotes); }