def test_attr_writer_existing_key_and_value_text(self):
    key = Text.create_from('bird')
    value = Text.create_from('chirp')
    writer = _ReconWriter()
    actual = _AttrWriter._write(key=key, writer=writer, value=value)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual('@bird(chirp)', actual._message)
def test_attr_writer_existing_key_and_value_text(self):
    key = Text.create_from('bird')
    value = Text.create_from('chirp')
    writer = _ReconWriter()
    actual = _AttrWriter._write(key=key, writer=writer, value=value)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual('@bird(chirp)', actual._message)