When writing unit tests for analysis components, its highly recommended
to use the helper methods here (especially in conjunction with MockAnalyzer or
MockTokenizer), as they contain many assertions and checks to
catch bugs.