MyBuilder\PhpunitAccelerator\TestListener::safelyFreeProperties PHP Method

safelyFreeProperties() private method

private safelyFreeProperties ( PHPUnit_Framework_Test $test, array $properties )
$test PHPUnit_Framework_Test
$properties array
    private function safelyFreeProperties(\PHPUnit_Framework_Test $test, array $properties)
    {
        foreach ($properties as $property) {
            if ($this->isSafeToFreeProperty($property)) {
                $this->freeProperty($test, $property);
            }
        }
    }