endTest() public method

endTest is called after each test and checks if \Mockery::close() has been called, and will let the test fail if it hasn't.
public endTest ( PHPUnit_Framework_Test $test, float $time )
$test PHPUnit_Framework_Test
$time float
Example #1
0
 /**
  * {@inheritdoc}
  */
 public function endTest(\PHPUnit_Framework_Test $test, $time)
 {
     Registry::getInstance()->resetAll();
     parent::endTest($test, $time);
 }