code: def test_arg_extreme_type_resolves_correctly(self):
      # Resolution should fail on basic type
      assert ARG_EXTREME_TYPE.resolve(ROW_TYPE) is None
  
      assert (
          ARG_EXTREME_TYPE.resolve(ComplexType(CELL_TYPE, ROW_TYPE))
          is None
      )
  
      other = ComplexType(
          ANY_TYPE,
          ComplexType(
              ANY_TYPE,
              ComplexType(
                  CELL_TYPE,
                  ComplexType(
                      ComplexType(ANY_TYPE, CELL_TYPE), CELL_TYPE
                  ),
              ),
          ),
      )
      resolution = ARG_EXTREME_TYPE.resolve(other)
      assert resolution == ArgExtremeType(CELL_TYPE)
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/semparse/type_declarations/wikitables_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 ComplexType, ANY_TYPE
  from allennlp.semparse.type_declarations.wikitables_type_declaration import ARG_EXTREME_TYPE, ArgExtremeType, CELL_TYPE, CONJUNCTION_TYPE, COUNT_TYPE, CountType, ROW_TYPE, REVERSE_TYPE, ReverseType
label_desc: Use image node_id 4 for calling the WikiTablesTypeDeclarationTest obj's underlying member method code with example usage: obj.test_arg_extreme_type_resolves_correctly() without return types