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