@@ -17,15 +17,15 @@ func Test_GenDoc_marshalled_successfully_from_string(t *testing.T) {
17
17
expect gendoc.GenDoc
18
18
}{
19
19
"when using full property names" : {
20
- `parent=domain-foo~bar-assigned id=BizContextAreaEvent category=message type=example subscribers=bazquxdemand ,bazquxfoo,bazquxbar` ,
20
+ `parent=domain-foo~bar-assigned id=BizContextAreaEvent category=message type=example subscribers=bazquxoperation ,bazquxfoo,bazquxbar` ,
21
21
gendoc.GenDoc {Id : "BizContextAreaEvent" , Parent : "domain-foo~bar-assigned" , CategoryType : gendoc .MessageBlock , ContentType : gendoc .Example },
22
22
},
23
23
"when using shorthand property names" : {
24
- `parent=domain-foo~bar-assigned id=BizContextAreaEvent c=message type=example sbs=bazquxdemand ,bazquxfoo,bazquxbar` ,
24
+ `parent=domain-foo~bar-assigned id=BizContextAreaEvent c=message type=example sbs=bazquxoperation ,bazquxfoo,bazquxbar` ,
25
25
gendoc.GenDoc {Id : "BizContextAreaEvent" , Parent : "domain-foo~bar-assigned" , CategoryType : gendoc .MessageBlock , ContentType : gendoc .Example },
26
26
},
27
27
"when setting serviceId" : {
28
- `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample c=message type=example sbs=bazquxdemand ,bazquxfoo,bazquxbar producers=bazquxsample` ,
28
+ `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample c=message type=example sbs=bazquxoperation ,bazquxfoo,bazquxbar producers=bazquxsample` ,
29
29
gendoc.GenDoc {Id : "BizContextAreaEvent" ,
30
30
Parent : "domain-foo~bar-assigned" ,
31
31
CategoryType : gendoc .MessageBlock ,
@@ -34,7 +34,7 @@ func Test_GenDoc_marshalled_successfully_from_string(t *testing.T) {
34
34
},
35
35
},
36
36
"when setting channelId" : {
37
- `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample channelId=bazquxsample c=message type=example sbs=bazquxdemand ,bazquxfoo,bazquxbar producers=bazquxsample` ,
37
+ `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample channelId=bazquxsample c=message type=example sbs=bazquxoperation ,bazquxfoo,bazquxbar producers=bazquxsample` ,
38
38
gendoc.GenDoc {Id : "BizContextAreaEvent" ,
39
39
Parent : "domain-foo~bar-assigned" ,
40
40
CategoryType : gendoc .MessageBlock ,
@@ -44,7 +44,7 @@ func Test_GenDoc_marshalled_successfully_from_string(t *testing.T) {
44
44
},
45
45
},
46
46
"when including closing comments" : {
47
- `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample channelId=bazquxsample c=message type=example sbs=bazquxdemand ,bazquxfoo,bazquxbar producers=bazquxsample -->` ,
47
+ `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample channelId=bazquxsample c=message type=example sbs=bazquxoperation ,bazquxfoo,bazquxbar producers=bazquxsample -->` ,
48
48
gendoc.GenDoc {Id : "BizContextAreaEvent" ,
49
49
Parent : "domain-foo~bar-assigned" ,
50
50
CategoryType : gendoc .MessageBlock ,
@@ -73,7 +73,7 @@ func Test_Unmarshal_from_token_should_succeed(t *testing.T) {
73
73
expect gendoc.GenDoc
74
74
}{
75
75
"when using correct annotation" : {
76
- token.Token {MetaAnnotation : `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample channelId=bazquxsample c=message type=example sbs=bazquxdemand ,bazquxfoo,bazquxbar producers=bazquxsample` },
76
+ token.Token {MetaAnnotation : `parent=domain-foo~bar-assigned id=BizContextAreaEvent serviceId=bazquxsample channelId=bazquxsample c=message type=example sbs=bazquxoperation ,bazquxfoo,bazquxbar producers=bazquxsample` },
77
77
gendoc.GenDoc {Id : "BizContextAreaEvent" ,
78
78
Parent : "domain-foo~bar-assigned" ,
79
79
CategoryType : gendoc .MessageBlock ,
0 commit comments