Esempio n. 1
0
 public function testAppIsResetted()
 {
     Apricot::when('/', function () {
     });
     $old = Apricot::getInstance();
     Apricot::reset();
     $new = Apricot::getInstance();
     $this->assertTrue($old !== $new);
 }