public function testDeleteDeployment() { $applicationName = "integrationtest" . rand(0, 10000); $type = 'php'; self::$_api->createApplication($applicationName, $type); // first deployments name is ever default! self::$_api->createDeployment($applicationName); $deployment = self::$_api->getDeploymentDetails($applicationName, 'default'); self::$_api->deleteDeployment($applicationName, 'default'); try { self::$_api->getDeploymentDetails($applicationName, 'default'); } catch (GoneError $e) { return; } $this->fail("Expected GoneError has not been raised!"); }