You know we have [TestReflection::invoke()](https://github.com/joomla/joomla-cms/blob/master/tests/unit/core/reflection/reflection.php#L67), right?