original_string: protected function assert_rating_matches($expected, $stored) {
          $this->assertEquals($expected->rating, $stored->rating);
          $this->assertEquals($expected->userid, $stored->author);
      }
code: protected function assert_rating_matches($expected, $stored) {
          $this->assertEquals($expected->rating, $stored->rating);
          $this->assertEquals($expected->userid, $stored->author);
      }
code_tokens: protected function assert_rating_matches ( $ expected , $ stored ) { $ this -> assertEquals ( $ expected -> rating , $ stored -> rating ) ; $ this -> assertEquals ( $ expected -> userid , $ stored -> author ) ; }
docstring: Assert that the rating matches.
  
  @param   \stdClass           $expected   The expected rating structure
  @param   \stdClass           $stored     The actual rating structure
docstring_tokens: Assert that the rating matches .