public function getName() { return $this->name; }
/** * @dataProvider validNameProvider */ public function testValidRepoName($name) { $config = new Config('/tmp'); $repo = new Repository($name, $config); $this->assertSame($name, $repo->getName()); }