public function testProvisioningSecondErrored() { $this->testProvisioning(); $data = ["service_id" => "c76ed0a4-9a04-5710-90c2-75e955697b08", "plan_id" => "97f78da1-48ce-51dc-b550-6de43ee3cc77", "organization_guid" => "org-02", "space_guid" => "space-01"]; $controller = $this->microWebFrameWork->getController('provisioning'); $controller->setInputData(json_encode($data)); $response = $this->dispatcher->dispatch(Request::METHOD_PUT, sprintf(ServiceBrokerTest::PROVISIONING_URL, $this->instanceId)); $this->assertEquals(Response::HTTP_CONFLICT, $response->getStatusCode()); $this->assertEquals('{}', $response->getContent()); }