def test_block_writer_attr(self):
    items = list()
    items.append(Attr.create_attr(Text.create_from('dog'), Text.create_from('bark')))
    writer = _ReconWriter()
    actual = _BlockWriter._write(items, writer=writer)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual('@dog(bark)', actual._message)
def test_block_writer_attr(self):
    items = list()
    items.append(Attr.create_attr(Text.create_from('dog'), Text.create_from('bark')))
    writer = _ReconWriter()
    actual = _BlockWriter._write(items, writer=writer)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual('@dog(bark)', actual._message)