def METHOD_NAME(self) -> None:
    cordelia = self.example_user("cordelia")
    hamlet = self.example_user("hamlet")
    stream_name = "Verona"
    message_id = self.send_stream_message(
        sender=cordelia,
        stream_name=stream_name,
    )
    def get_raw_rows() -> List[Dict[str, Any]]:
        query = SubMessage.get_raw_db_rows([message_id])
        rows = list(query)
        return rows
    rows = get_raw_rows()
    self.assertEqual(rows, [])
    sm1 = SubMessage.objects.create(
        msg_type="whatever",
        content="stuff1",
        message_id=message_id,
        sender=cordelia,
    )
    sm2 = SubMessage.objects.create(
        msg_type="whatever",
        content="stuff2",
        message_id=message_id,
        sender=hamlet,
    )
    expected_data = [
        dict(
            id=sm1.id,
            message_id=message_id,
            sender_id=cordelia.id,
            msg_type="whatever",
            content="stuff1",
        ),
        dict(
            id=sm2.id,
            message_id=message_id,
            sender_id=hamlet.id,
            msg_type="whatever",
            content="stuff2",
        ),
    ]
    self.assertEqual(get_raw_rows(), expected_data)
    message = Message.objects.get(id=message_id)
    message_json = MessageDict.wide_dict(message)
    rows = message_json["submessages"]
    rows.sort(key=lambda r: r["id"])
    self.assertEqual(rows, expected_data)
    msg_rows = MessageDict.get_raw_db_rows([message_id])
    rows = msg_rows[0]["submessages"]
    rows.sort(key=lambda r: r["id"])
    self.assertEqual(rows, expected_data)