/**
  * Class contructor.
  *
  * @param   PHPUnit_Framework_TestCase  $test  A test class.
  *
  * @since   3.4
  */
 public function __construct(PHPUnit_Framework_TestCase $test)
 {
     self::$inputs = array();
     self::$test = $test;
 }
 /**
  * Gets a mock input object.
  *
  * @param   array  $options  An associative array of options to configure the mock.
  *                           * methods => an array of additional methods to mock
  *
  * @return  JInput
  *
  * @since   3.4
  */
 public function getMockInput(array $options = null)
 {
     // Attempt to load the real class first.
     class_exists('JInput');
     $mocker = new TestMockInput($this);
     return $mocker->createInput($options);
 }