/**
  *    Resolves the dependency on the test case.
  *    @param string $class      Key to look up test case in.
  *    @return SimpleTestCase    Test case to send results to.
  *    @access public
  *    @static
  */
 function &injectTest($key)
 {
     $registry =& SimpleMock::_getRegistry();
     return $registry[$key];
 }