public static void assertToken(String message, int expectedType, String expectedText, Token token)
    {
        assertToken(message, BaseRecognizer.DEFAULT_TOKEN_CHANNEL, expectedType, expectedText, token);
    }
public static void assertToken ( String message , int expectedType , String expectedText , Token token ) { assertToken ( message , BaseRecognizer . DEFAULT_TOKEN_CHANNEL , expectedType , expectedText , token ) ; }
Asserts properties of a token.

@param message      the message to display on failure.
@param expectedType the expected type of the token.
@param expectedText the expected text of the token.
@param token        the token to assert.