示例#1
0
 public function testSlug()
 {
     $project = new GitPHP_Project(GITPHP_TEST_PROJECTROOT, 'category/subrepo.git', $this->getMock('GitPHP_ProjectLoadStrategy_Interface'));
     $this->assertEquals('category-subrepo', $project->GetSlug());
 }