class_docstr: Tests for the ChannelMessagesTable class.
code: def test_select_star_for_single_channel_message_returns_all_columns(
      self,
  ):
      # patch the api handler to return the channel message data
      with patch.object(
          self.api_handler.connect(),
          "get_channel_message",
          return_value=ms_teams_handler_config.TEST_CHANNEL_MESSAGE_DATA,
      ):
          channel_messages_table = ChannelMessagesTable(
              self.api_handler
          )
  
          select_all = ast.Select(
              # select all columns
              targets=[Star()],
              from_table="channel_messages",
              where=[
                  BinaryOperation(
                      op="=",
                      args=[Identifier("id"), Constant("test_id")],
                  ),
                  BinaryOperation(
                      op="=",
                      args=[
                          Identifier("channelIdentity_channelId"),
                          Constant("test_channel_id"),
                      ],
                  ),
                  BinaryOperation(
                      op="=",
                      args=[
                          Identifier("channelIdentity_teamId"),
                          Constant("test_team_id"),
                      ],
                  ),
              ],
          )
  
          all_channel_messages = channel_messages_table.select(
              select_all
          )
          first_channel_message = all_channel_messages.iloc[0]
  
          self.assertEqual(
              all_channel_messages.shape[1],
              len(
                  ms_teams_handler_config.CHANNEL_MESSAGES_TABLE_COLUMNS
              ),
          )
          self.assertEqual(first_channel_message["id"], "test_id")
          self.assertEqual(
              first_channel_message["messageType"], "message"
          )
  
imports: import unittest
  from unittest.mock import Mock, patch
  from mindsdb_sql.parser import ast
  from mindsdb_sql.parser.ast import Constant, BinaryOperation
  from mindsdb_sql.parser.ast.select.star import Star
  from mindsdb_sql.parser.ast.select.identifier import Identifier
  from mindsdb.integrations.handlers.ms_teams_handler.ms_teams_handler import MSTeamsHandler
  from mindsdb.integrations.handlers.ms_teams_handler.settings import ms_teams_handler_config
  from mindsdb.integrations.handlers.ms_teams_handler.ms_graph_api_teams_client import MSGraphAPITeamsClient
  from mindsdb.integrations.handlers.ms_teams_handler.ms_teams_tables import ChatsTable, ChatMessagesTable, ChannelsTable, ChannelMessagesTable
label_desc: Use image node_id 3 for calling the TestChannelMessagesTable obj's underlying member method code with example usage: obj.test_select_star_for_single_channel_message_returns_all_columns() without return types