Added wildcard tests with + and ?.
Change-Id: I367c6d5e79f846e4ed89934e89203915f36bfe39
diff --git a/src/test/resources/collection/availability-all.jsonld b/src/test/resources/collection/availability-all.jsonld
new file mode 100644
index 0000000..bb8466f
--- /dev/null
+++ b/src/test/resources/collection/availability-all.jsonld
@@ -0,0 +1,39 @@
+{"collection": {
+ "operation": "operation:or",
+ "operands": [
+ {
+ "@type": "koral:doc",
+ "value": "CC-BY.*",
+ "match": "match:eq",
+ "type": "type:regex",
+ "key": "availability"
+ },
+ {
+ "operation": "operation:or",
+ "operands": [
+ {
+ "@type": "koral:doc",
+ "value": "ACA.*",
+ "match": "match:eq",
+ "type": "type:regex",
+ "key": "availability"
+ },
+ {
+ "@type": "koral:doc",
+ "value": "QAO.*",
+ "match": "match:eq",
+ "type": "type:regex",
+ "key": "availability"
+ }
+ ],
+ "@type": "koral:docGroup"
+ }
+ ],
+ "@type": "koral:docGroup",
+ "rewrites": [{
+ "@type": "koral:rewrite",
+ "src": "Kustvakt",
+ "operation": "operation:insertion",
+ "scope": "availability(ALL)"
+ }]
+}}