@Test public void testExamineStatement_3() { Parser parser = grammar.examineStatement(); assertNotNull(parser); TestTokenizer tokenizer = new TestTokenizer(SourceFormat.FREE, " EXAMINE foo TALLYING LEADING \"bar\" "); assertTrue(parser.accepts(tokenizer)); assertTrue(tokenizer.isWhereExpected()); }
@Test public void testExamineStatement_10() { Parser parser = grammar.examineStatement(); assertNotNull(parser); TestTokenizer tokenizer = new TestTokenizer( SourceFormat.FREE, " EXAMINE foo REPLACING UNTIL FIRST \"bar\" BY \"baz\" "); assertTrue(parser.accepts(tokenizer)); assertTrue(tokenizer.isWhereExpected()); }