public function shouldCreateCommitComment()
{
$expectedArray = array('id' => 2, 'title' => 'A new comment');
$api = $this->getApiMock();
$api->expects($this->once())->method('post')->with('projects/1/repository/commits/abcd1234/comments', array('note' => 'A new comment'))->will($this->returnValue($expectedArray));
$this->assertEquals($expectedArray, $api->createCommitComment(1, 'abcd1234', 'A new comment'));
}