def test_write_value_text_ident(self):
    ident = Text.create_from('Duck')
    writer = _ReconWriter()
    actual = writer._write_value(ident)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual(4, actual._size)
    self.assertEqual('Duck', actual._value)
    self.assertEqual('k', actual._last_char)
def test_write_value_text_ident(self):
    ident = Text.create_from('Duck')
    writer = _ReconWriter()
    actual = writer._write_value(ident)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual(4, actual._size)
    self.assertEqual('Duck', actual._value)
    self.assertEqual('k', actual._last_char)