public static function tearDownAfterClass()
 {
     if (self::$directory) {
         self::$directory->delete();
     }
     parent::tearDownAfterClass();
 }
 public static function tearDownAfterClass()
 {
     if (self::$application) {
         self::$application->delete();
     }
     parent::tearDownAfterClass();
 }
 public static function tearDownAfterClass()
 {
     if (self::$application) {
         $accountStoreMappings = self::$application->accountStoreMappings;
         if ($accountStoreMappings) {
             foreach ($accountStoreMappings as $asm) {
                 $accountStore = $asm->accountStore;
                 $asm->delete();
                 $accountStore->delete();
             }
         }
         self::$application->delete();
     }
     parent::tearDownAfterClass();
 }
 public static function tearDownAfterClass()
 {
     if (self::$organization) {
         self::$organization->delete();
     }
     if (self::$directory) {
     }
     self::$directory->delete();
     parent::tearDownAfterClass();
 }