Token nextToken = tf.next(reusableToken);
assertTrue("nextToken is null and it shouldn't be", nextToken != null);
assertTrue(nextToken.term() + " is not equal to " + "a b c d",
nextToken.term().equals("a b c d") == true);
assertTrue(nextToken.getPositionIncrement() + " does not equal: " + 1, nextToken.getPositionIncrement() == 1);
assertTrue(nextToken.type() + " is not equal to " + WikipediaTokenizer.CATEGORY, nextToken.type().equals(WikipediaTokenizer.CATEGORY) == true);
assertTrue(nextToken.getFlags() + " does not equal: " + WikipediaTokenizer.UNTOKENIZED_TOKEN_FLAG, nextToken.getFlags() == WikipediaTokenizer.UNTOKENIZED_TOKEN_FLAG);
assertTrue(nextToken.startOffset() + " does not equal: " + 11, nextToken.startOffset() == 11);
assertTrue(nextToken.endOffset() + " does not equal: " + 18, nextToken.endOffset() == 18);
nextToken = tf.next(reusableToken);
assertTrue("nextToken is null and it shouldn't be", nextToken != null);