MyBuilder\PhpunitAccelerator\TestListener::endTest PHP Method

endTest() public method

public endTest ( PHPUnit_Framework_Test $test, $time )
$test PHPUnit_Framework_Test
    public function endTest(\PHPUnit_Framework_Test $test, $time)
    {
        $testReflection = new \ReflectionObject($test);
        if ($this->ignorePolicy->shouldIgnore($testReflection)) {
            return;
        }
        $this->safelyFreeProperties($test, $testReflection->getProperties());
    }

Usage Example

 private function endTest(TestListener $listener)
 {
     $listener->endTest($this->dummyTest, 0);
 }