public static function clearInstance() { self::$instance = null; }
public function tearDown() { $this->app['orm.em']->close(); $this->app['orm.em'] = null; Application::clearInstance(); $this->app = null; }