public void ParseBooleans() { Lexer lexer = new Lexer("true false"); Assert.IsTrue(IsBoolean("true", lexer.NextToken())); Assert.IsTrue(IsBoolean("false", lexer.NextToken())); Assert.IsNull(lexer.NextToken()); }