@Test
	public void testClassFunction() throws Exception {
		/*-********************************************************************
		kind=Global
		  kind=Function
		    kind=Class
		      kind=Module, text="SwiftDemanglerTest"
		      kind=Identifier, text="MyClass"
		    kind=Identifier, text="myMethod"
		    kind=LabelList
		      kind=Identifier, text="label1"
		      kind=Identifier, text="label2"
		    kind=Type
		      kind=FunctionType
		        kind=ArgumentTuple
		          kind=Type
		            kind=Tuple
		              kind=TupleElement
		                kind=Type
		                  kind=Structure
		                    kind=Module, text="Swift"
		                    kind=Identifier, text="Int"
		              kind=TupleElement
		                kind=Type
		                  kind=Structure
		                    kind=Module, text="Swift"
		                    kind=Identifier, text="Int"
		        kind=ReturnType
		          kind=Type
		            kind=Structure
		              kind=Module, text="Swift"
		              kind=Identifier, text="Int"
		SwiftDemanglerTest.MyClass.myMethod(label1: Swift.Int, label2: Swift.Int) -> Swift.Int
		**********************************************************************/
		String mangled = "_$s18SwiftDemanglerTest7MyClassC8myMethod6label16label2S2i_SitF";
		String demangled =
			"__int64 __thiscall SwiftDemanglerTest::MyClass::myMethod(__int64 label1,__int64 label2)";

		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