def testLT1WithHidden(self):
    'CommonTokenStream.LT(1): with hidden tokens'
    self.source.tokens.append(antlr3.CommonToken(type=12, channel=antlr3.HIDDEN_CHANNEL))
    self.source.tokens.append(antlr3.CommonToken(type=13))
    stream = antlr3.CommonTokenStream(self.source)
    lt1 = stream.LT(1)
    self.failUnlessEqual(lt1.type, 13)
CommonTokenStream.LT(1): with hidden tokens
def testLT1WithHidden(self):
    
    self.source.tokens.append(antlr3.CommonToken(type=12, channel=antlr3.HIDDEN_CHANNEL))
    self.source.tokens.append(antlr3.CommonToken(type=13))
    stream = antlr3.CommonTokenStream(self.source)
    lt1 = stream.LT(1)
    self.failUnlessEqual(lt1.type, 13)