public function lex_comment_updateStatus($commentId, $status)
 {
     return LexCommentCommands::updateCommentStatus($this->projectId, $commentId, $status);
 }
 public function testPlusOneComment_UserAlready_ScoreIsSame()
 {
     $environ = new LexiconMongoTestEnvironment();
     $environ->clean();
     $project = $environ->createProject(SF_TESTPROJECT, SF_TESTPROJECTCODE);
     $user1Id = $environ->createUser('joe', 'joe', 'joe');
     $regarding = array('field' => 'lexeme', 'fieldValue' => 'Word 1', 'inputSystem' => 'th', 'word' => '', 'meaning' => '');
     $data = array('id' => '', 'content' => 'hi there!', 'regarding' => $regarding);
     $commentId = LexCommentCommands::updateComment($project->id->asString(), $user1Id, $environ->website, $data);
     $comment = new LexCommentModel($project, $commentId);
     $this->assertEquals(0, $comment->score);
     LexCommentCommands::plusOneComment($project->id->asString(), $user1Id, $commentId);
     LexCommentCommands::plusOneComment($project->id->asString(), $user1Id, $commentId);
     $comment->read($commentId);
     $this->assertEquals(1, $comment->score);
 }