def METHOD_NAME(self):
    root = tokens.Token(None)
    reader = readers.Reader(lexers.RecursiveLexer('block', 'inline'))
    reader.add('block', WordComponent())
    reader.add('inline', LetterComponent())
    reader.tokenize(root, 'foo bar', None)
    self.assertEqual(root(0).name, 'Word')
    self.assertEqual(root(0)(0).name, 'Letter')
    self.assertEqual(root(0)(1).name, 'Letter')
    self.assertEqual(root(0)(2).name, 'Letter')
    self.assertEqual(root(0)(0)['content'], 'f')
    self.assertEqual(root(0)(1)['content'], 'o')
    self.assertEqual(root(0)(2)['content'], 'o')
    self.assertEqual(root(1).name, 'Word')
    self.assertEqual(root(1)(0).name, 'Letter')
    self.assertEqual(root(1)(1).name, 'Letter')
    self.assertEqual(root(1)(2).name, 'Letter')
    self.assertEqual(root(1)(0)['content'], 'b')
    self.assertEqual(root(1)(1)['content'], 'a')
    self.assertEqual(root(1)(2)['content'], 'r')