import com.alibaba.fastjson.parser.JSONToken;
public class JSONScannerTest__nextToken extends TestCase {
public void test_next() throws Exception {
String text = "\"aaa\"";
JSONScanner lexer = new JSONScanner(text);
lexer.nextToken(JSONToken.LITERAL_INT);
Assert.assertEquals(JSONToken.LITERAL_STRING, lexer.token());
}