def test_write_value_bool(self):
    boolean = Bool.create_from(False)
    writer = _ReconWriter()
    actual = writer._write_value(boolean)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual(5, actual._size)
    self.assertEqual('false', actual._value)
    self.assertEqual('e', actual._last_char)
def test_write_value_bool(self):
    boolean = Bool.create_from(False)
    writer = _ReconWriter()
    actual = writer._write_value(boolean)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual(5, actual._size)
    self.assertEqual('false', actual._value)
    self.assertEqual('e', actual._last_char)