code: def test_get_valid_actions_with_reverse(self):
      valid_actions = types.get_valid_actions(
          wt_types.COMMON_NAME_MAPPING,
          wt_types.COMMON_TYPE_SIGNATURE,
          wt_types.BASIC_TYPES,
      )
      assert valid_actions["<n,c>"] == [
          "<n,c> -> [<<#1,#2>,<#2,#1>>, <c,n>]",
          "<n,c> -> fb:cell.cell.num2",
          "<n,c> -> fb:cell.cell.number",
      ]
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/semparse/type_declarations/type_declaration_test.py
imports: from __future__ import absolute_import
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.semparse.type_declarations import type_declaration
  from allennlp.semparse.type_declarations.type_declaration import ANY_TYPE, BinaryOpType, ComplexType, NamedBasicType, UnaryOpType
  from allennlp.semparse.type_declarations import wikitables_type_declaration
  from allennlp.semparse.type_declarations.wikitables_type_declaration import CELL_TYPE, ROW_TYPE
label_desc: Use image node_id 7 for calling the TestTypeDeclaration obj's underlying member method code with example usage: obj.test_get_valid_actions_with_reverse() without return types