public void Teardown() { DocumentSuccessResponse documentSuccessResponse; while (successResponses.TryPop(out documentSuccessResponse)) { trueVaultClient.DeleteDocument(testVaultId, documentSuccessResponse.DocumentId); } }
public void Teardown() { DocumentSaveSuccessResponse documentSuccessResponse; while (documentSuccessResponses.TryPop(out documentSuccessResponse)) { trueVaultClient.DeleteDocument(testVaultId, documentSuccessResponse.DocumentId); } SchemaSaveSuccessResponse schemaSuccessResponse; while (schemaSuccessResponses.TryPop(out schemaSuccessResponse)) { trueVaultClient.DeleteSchema(testVaultId, schemaSuccessResponse.Schema.Id); } }