Page callback for 'class loading' test.
This module does not have a dependency on module_autoload_test.module. If that module is enabled, this function should return the string 'Drupal\\module_autoload_test\\SomeClass::testMethod() was invoked.'. If that module is not enabled, this function should return nothing.
function module_test_class_loading() {
if (class_exists('Drupal\\module_autoload_test\\SomeClass')) {
$obj = new Drupal\module_autoload_test\SomeClass();
return $obj
->testMethod();
}
}