public function shouldGetCommitComments()
{
$expectedArray = array(array('note' => 'A commit message'), array('note' => 'Another commit message'));
$api = $this->getApiMock();
$api->expects($this->once())->method('get')->with('projects/1/repository/commits/abcd1234/comments')->will($this->returnValue($expectedArray));
$this->assertEquals($expectedArray, $api->commitComments(1, 'abcd1234'));
}