function __construct($class, $instance, $times)
{
$this->class = $class;
$this->instance = $instance;
$this->times = $times;
if (self::$exception_class === null) {
if (class_exists('PHPUnit_Framework_AssertionFailedError')) {
self::$exception_class = "PHPUnit_Framework_AssertionFailedError";
} else {
self::$exception_class = "Exception";
}
}
}