private String runMapped(Class<?> cls, String methodName) {
		String className = cls.getName();
		ClassDefiner definer = newDefinerFromWorkspace();
		try {
			Class<?> runner = definer.findClass(className);
			Method main = runner.getDeclaredMethod(methodName);
			try {
				return (String) main.invoke(null);
			} catch (ReflectiveOperationException ex) {
				fail("Failed to execute '" + methodName + "' method", ex);
			}
		} catch (ClassNotFoundException | NoSuchMethodException ex) {
			fail("Class '" + className + "' or '" + methodName + "' method missing", ex);
		}
		throw new IllegalStateException();
	}
Tests for {@link MappingApplier} with some edge case classes.
recaf-core/src/test/java/software/coley/recaf/services/mapping/MappingApplierTest.java