Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Esempio n. 1
0
 public function setUp()
 {
     parent::setUp();
     $this->validator = new Validator();
     $this->message = new Message();
     $this->message->user = new User();
 }
Esempio n. 2
0
 protected function wrapWithTestNow(Closure $func, Carbon $dt = null)
 {
     parent::wrapWithTestNow($func, $dt === null ? Carbon::createFromDate(2012, 1, 1) : $dt);
 }