UObjectBaseUtility::FindNearestCommonBaseClass

Finds the most-derived class which is a parent of both TestClass and this object's class.