@@ -53,6 +53,7 @@ public void CreateSubscription()
53
53
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
54
54
AckDeadlineSeconds = 921632575 ,
55
55
RetainAckedMessages = false ,
56
+ EnableMessageOrdering = true ,
56
57
} ;
57
58
mockGrpcClient . Setup ( x => x . CreateSubscription ( expectedRequest , It . IsAny < CallOptions > ( ) ) )
58
59
. Returns ( expectedResponse ) ;
@@ -85,6 +86,7 @@ public async Task CreateSubscriptionAsync()
85
86
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
86
87
AckDeadlineSeconds = 921632575 ,
87
88
RetainAckedMessages = false ,
89
+ EnableMessageOrdering = true ,
88
90
} ;
89
91
mockGrpcClient . Setup ( x => x . CreateSubscriptionAsync ( expectedRequest , It . IsAny < CallOptions > ( ) ) )
90
92
. Returns ( new Grpc . Core . AsyncUnaryCall < Subscription > ( Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
@@ -115,6 +117,7 @@ public void CreateSubscription2()
115
117
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
116
118
AckDeadlineSeconds = 2135351438 ,
117
119
RetainAckedMessages = false ,
120
+ EnableMessageOrdering = true ,
118
121
} ;
119
122
mockGrpcClient . Setup ( x => x . CreateSubscription ( request , It . IsAny < CallOptions > ( ) ) )
120
123
. Returns ( expectedResponse ) ;
@@ -141,6 +144,7 @@ public async Task CreateSubscriptionAsync2()
141
144
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
142
145
AckDeadlineSeconds = 2135351438 ,
143
146
RetainAckedMessages = false ,
147
+ EnableMessageOrdering = true ,
144
148
} ;
145
149
mockGrpcClient . Setup ( x => x . CreateSubscriptionAsync ( request , It . IsAny < CallOptions > ( ) ) )
146
150
. Returns ( new Grpc . Core . AsyncUnaryCall < Subscription > ( Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
@@ -166,6 +170,7 @@ public void GetSubscription()
166
170
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
167
171
AckDeadlineSeconds = 2135351438 ,
168
172
RetainAckedMessages = false ,
173
+ EnableMessageOrdering = true ,
169
174
} ;
170
175
mockGrpcClient . Setup ( x => x . GetSubscription ( expectedRequest , It . IsAny < CallOptions > ( ) ) )
171
176
. Returns ( expectedResponse ) ;
@@ -192,6 +197,7 @@ public async Task GetSubscriptionAsync()
192
197
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
193
198
AckDeadlineSeconds = 2135351438 ,
194
199
RetainAckedMessages = false ,
200
+ EnableMessageOrdering = true ,
195
201
} ;
196
202
mockGrpcClient . Setup ( x => x . GetSubscriptionAsync ( expectedRequest , It . IsAny < CallOptions > ( ) ) )
197
203
. Returns ( new Grpc . Core . AsyncUnaryCall < Subscription > ( Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
@@ -218,6 +224,7 @@ public void GetSubscription2()
218
224
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
219
225
AckDeadlineSeconds = 2135351438 ,
220
226
RetainAckedMessages = false ,
227
+ EnableMessageOrdering = true ,
221
228
} ;
222
229
mockGrpcClient . Setup ( x => x . GetSubscription ( request , It . IsAny < CallOptions > ( ) ) )
223
230
. Returns ( expectedResponse ) ;
@@ -243,6 +250,7 @@ public async Task GetSubscriptionAsync2()
243
250
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
244
251
AckDeadlineSeconds = 2135351438 ,
245
252
RetainAckedMessages = false ,
253
+ EnableMessageOrdering = true ,
246
254
} ;
247
255
mockGrpcClient . Setup ( x => x . GetSubscriptionAsync ( request , It . IsAny < CallOptions > ( ) ) )
248
256
. Returns ( new Grpc . Core . AsyncUnaryCall < Subscription > ( Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
@@ -277,6 +285,7 @@ public void UpdateSubscription()
277
285
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
278
286
AckDeadlineSeconds = 921632575 ,
279
287
RetainAckedMessages = false ,
288
+ EnableMessageOrdering = true ,
280
289
} ;
281
290
mockGrpcClient . Setup ( x => x . UpdateSubscription ( request , It . IsAny < CallOptions > ( ) ) )
282
291
. Returns ( expectedResponse ) ;
@@ -311,6 +320,7 @@ public async Task UpdateSubscriptionAsync()
311
320
TopicAsTopicNameOneof = TopicNameOneof . From ( new TopicName ( "[PROJECT]" , "[TOPIC]" ) ) ,
312
321
AckDeadlineSeconds = 921632575 ,
313
322
RetainAckedMessages = false ,
323
+ EnableMessageOrdering = true ,
314
324
} ;
315
325
mockGrpcClient . Setup ( x => x . UpdateSubscriptionAsync ( request , It . IsAny < CallOptions > ( ) ) )
316
326
. Returns ( new Grpc . Core . AsyncUnaryCall < Subscription > ( Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
0 commit comments