Assert.assertEquals(TOK_END_OF_STREAM, token.getTokenType());
}
@Test
public void testSymbols2() throws ShellSyntaxException {
BjorneTokenizer tokenizer = new BjorneTokenizer("; ;; | || & && < << > >>");
BjorneToken token = tokenizer.next();
Assert.assertEquals(TOK_SEMI, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_DSEMI, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_BAR, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_OR_IF, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_AMP, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_AND_IF, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_LESS, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_DLESS, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_GREAT, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_DGREAT, token.getTokenType());
token = tokenizer.next();
Assert.assertEquals(TOK_END_OF_STREAM, token.getTokenType());
}