Test that module_invoke() can load a hook defined in hook_hook_info().
function testModuleInvoke() {
module_enable(array(
'module_test',
), FALSE);
$this
->resetAll();
$this
->drupalGet('module-test/hook-dynamic-loading-invoke');
$this
->assertText('success!', 'module_invoke() dynamically loads a hook defined in hook_hook_info().');
}