package properties import ( "encoding/json" "testing" ) const ( propertyJSON = `{"vcfg:name":"stringProperty","vcfg:value":""}` collectionJSON = `{ "@context": "https://em5.verint.training/tenant-properties-service/context.jsonld", "@id": "https://em5.verint.training/tenant-properties-service/default/properties", "@type": [ "hydra:Collection" ], "hydra:totalItems": 14, "hydra:member": [ { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/conversation-service.initialised", "@type": [ "vcfg:Property" ], "vcfg:name": "conversation-service.initialised", "vcfg:value": "true", "vcfg:lastModifiedBy": "conversation-service", "vcfg:lastModifiedDate": "2022-04-08T19:16:08.226" }, { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/conversation-service.upload.default.max-number-of-customer-attachments", "@type": [ "vcfg:Property" ], "vcfg:name": "conversation-service.upload.default.max-number-of-customer-attachments", "vcfg:value": "10", "vcfg:lastModifiedBy": "conversation-service", "vcfg:lastModifiedDate": "2022-04-08T19:16:08.197" }, { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/conversation-service.upload.default.max-number-of-customer-attachments-bytes", "@type": [ "vcfg:Property" ], "vcfg:name": "conversation-service.upload.default.max-number-of-customer-attachments-bytes", "vcfg:value": "100000000", "vcfg:lastModifiedBy": "conversation-service", "vcfg:lastModifiedDate": "2022-04-08T19:16:08.224" }, { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/conversation-service.upload.default.number-of-customer-attachments-bytes-period-in-minutes", "@type": [ "vcfg:Property" ], "vcfg:name": "conversation-service.upload.default.number-of-customer-attachments-bytes-period-in-minutes", "vcfg:value": "10", "vcfg:lastModifiedBy": "conversation-service", "vcfg:lastModifiedDate": "2022-04-08T19:16:08.22" }, { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/conversation-service.upload.default.number-of-customer-attachments-period-in-minutes", "@type": [ "vcfg:Property" ], "vcfg:name": "conversation-service.upload.default.number-of-customer-attachments-period-in-minutes", "vcfg:value": "10", "vcfg:lastModifiedBy": "conversation-service", "vcfg:lastModifiedDate": "2022-04-08T19:16:08.214" }, { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/redaction.patterns.16digitscreditcard.enabled", "@type": [ "vcfg:Property" ], "vcfg:name": "redaction.patterns.16digitscreditcard.enabled", "vcfg:value": "true", "vcfg:lastModifiedBy": "conversation-service", "vcfg:lastModifiedDate": "2022-04-08T19:16:08.222" }, { "@id": "https://em5.verint.training/tenant-properties-service/default/properties/redaction.patterns.16digitscreditcard.match", "@type": [ "vcfg:Property" ], "vcfg:name": "redaction.patterns.16digitscreditcard.match", "vcfg:value": "(?