def METHOD_NAME(self):
    source = 'test1.c'
    executable = 'test1'
    cc = determine_wellknown_cmd('CC', 'clang')
    with open(source, 'w', encoding="utf8") as f:
        f.write('''
            #include <expat.h>
            int main()
            {
                XML_ExpatVersion();
                return 0;
            }
    ''')
    self.assertEqual(call_symbol_check(cc, source, executable, ['-lexpat', '-Wl,-platform_version','-Wl,macos', '-Wl,11.4', '-Wl,11.4']),
        (1, 'libexpat.1.dylib is not in ALLOWED_LIBRARIES!\n' +
            f'{executable}: failed DYNAMIC_LIBRARIES MIN_OS SDK'))
    source = 'test2.c'
    executable = 'test2'
    with open(source, 'w', encoding="utf8") as f:
        f.write('''
            #include <CoreGraphics/CoreGraphics.h>
            int main()
            {
                CGMainDisplayID();
                return 0;
            }
    ''')
    self.assertEqual(call_symbol_check(cc, source, executable, ['-framework', 'CoreGraphics', '-Wl,-platform_version','-Wl,macos', '-Wl,11.4', '-Wl,11.4']),
            (1, f'{executable}: failed MIN_OS SDK'))
    source = 'test3.c'
    executable = 'test3'
    with open(source, 'w', encoding="utf8") as f:
        f.write('''
            int main()
            {
                return 0;
            }
    ''')
    self.assertEqual(call_symbol_check(cc, source, executable, ['-Wl,-platform_version','-Wl,macos', '-Wl,11.0', '-Wl,11.4']),
            (1, f'{executable}: failed SDK'))