<?php
namespace gnomephp\testsuite;
class TestException implements CaseInterface{
private $exception;
private $name;
private $value;
public function __construct($name, $exception){
$this->name = $name;
$this->exception = $exception;
}
public function getName(){
return $this->name;
}
public function getValue(){
}
public function getFailedAsserts(){
return array(array('Testsuite: expectException() was not initialized.'),array('Unexpected Exception got, here is the report: ' . $this->exception));
}
}