I'm developing a custom module. My module calls
drupal_alter() with a
$type unique to my module, so other modules can alter the behavior of my module.
I'd like to write a SimpleTest for my module, which includes a test implementation of the hook my module calls. This hook implementation should only be used by my SimpleTest; it should not apply when the module is installed on a full Drupal installation (so therefore I can't place my test hook implementation in the
What's the right way to do implement a hook that only applies to an active SimpleTest?