@Test
	public void testClassTypeMetadataAccessor() throws Exception {
		/*-********************************************************************
		kind=Global
		  kind=TypeMetadataAccessFunction
		    kind=Type
		      kind=Class
		        kind=Module, text="SwiftDemanglerTest"
		        kind=Identifier, text="MyClass"
		type metadata accessor for SwiftDemanglerTest.MyClass
		**********************************************************************/
		String mangled = "_$s18SwiftDemanglerTest7MyClassCMa";
		String demangled =
			"class SwiftDemanglerTest::MyClass * default SwiftDemanglerTest::MyClass::typeMetadataAccessor(void)";

		if (!(demangler.demangle(mangled) instanceof DemangledFunction function)) {
			throw new AssertException("Demangled object is not a function");
		}
		assertEquals(demangled, function.toString());
	}
Unit tests for the {@link SwiftDemangler}.  Requires Swift to be installed on the test system.
If it is not, these tests will be skipped.
Ghidra/Features/SwiftDemangler/src/test/java/ghidra/app/util/demangler/swift/SwiftDemanglerTest.java