public function testDeleteApplication() { $applicationName = "integrationtest" . rand(0, 10000); $type = 'php'; $result = self::$_api->createApplication($applicationName, $type); $this->assertEquals($applicationName, $result->name); $result = self::$_api->deleteApplication($applicationName); $this->assertTrue($result); try { self::$_api->getApplicationDetails($applicationName); } catch (GoneError $e) { return; } $this->fail("Expected GoneError has not been raised!"); }