public function setUp() { $this->repo_mock = M::mock('Gittern\\Repository'); $this->sha = 'deadbeef'; $this->commit_proxy = new CommitProxy($this->repo_mock, $this->sha); }