getInstance() public static method

Returns current test instance
public static getInstance ( ) : TestCase
return TestCase
Example #1
0
 /**
  * {@inheritdoc}
  */
 public function __construct(Config $config, Logger $logger = null)
 {
     parent::__construct($config, $logger);
     $this->test = TestCase::getInstance();
 }