def test_block_writer_slot_single_first(self):
    items = list()
    items.append(Slot.create_slot(Text.create_from('cat'), Text.create_from('meow')))
    writer = _ReconWriter()
    actual = _BlockWriter._write(items, writer=writer, first=True)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual('cat:meow', actual._message)
def test_block_writer_slot_single_first(self):
    items = list()
    items.append(Slot.create_slot(Text.create_from('cat'), Text.create_from('meow')))
    writer = _ReconWriter()
    actual = _BlockWriter._write(items, writer=writer, first=True)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual('cat:meow', actual._message)