public function testGetMessage($repository) { $commit = $repository->getCommit(self::LONGFILE_COMMIT); $this->assertEquals('add a long file' . "\n", $commit->getMessage()); }