@@ -28,7 +28,7 @@ void main() {
28
28
};
29
29
30
30
pact
31
- .newInteraction ('create an alligator' )
31
+ .newInteraction ()
32
32
.uponReceiving ('a request to create an alligator' )
33
33
.withRequest ('POST' , '/alligator' , body: requestBody)
34
34
.willRespondWith (201 );
@@ -56,7 +56,7 @@ void main() {
56
56
};
57
57
58
58
pact
59
- .newInteraction ('create an alligator' )
59
+ .newInteraction ()
60
60
.uponReceiving ('a request to create an alligator' )
61
61
.withRequest ('POST' , '/alligator' , body: requestBody)
62
62
.willRespondWith (201 );
@@ -84,7 +84,7 @@ void main() {
84
84
};
85
85
86
86
pact
87
- .newInteraction ('update alligator contact email' )
87
+ .newInteraction ()
88
88
.uponReceiving ('a request to update the alligators contact email' )
89
89
.withRequest ('PUT' , '/alligator/1' , body: requestBody)
90
90
.willRespondWith (204 );
@@ -109,7 +109,7 @@ void main() {
109
109
};
110
110
111
111
pact
112
- .newInteraction ('update alligator contact email' )
112
+ .newInteraction ()
113
113
.uponReceiving ('a request to update the alligators contact email' )
114
114
.withRequest ('PUT' , '/alligator/1' , body: requestBody)
115
115
.willRespondWith (204 );
@@ -129,7 +129,7 @@ void main() {
129
129
test ('should match when same types are used in the request body' ,
130
130
() async {
131
131
pact
132
- .newInteraction ('create an alligator' )
132
+ .newInteraction ()
133
133
.uponReceiving ('a request to create an alligator named betsy' )
134
134
.withRequest ('POST' , '/alligator' , body: {
135
135
'alligator' : {
@@ -163,7 +163,7 @@ void main() {
163
163
};
164
164
165
165
pact
166
- .newInteraction ('create an alligator' )
166
+ .newInteraction ()
167
167
.uponReceiving ('a request to create an alligator' )
168
168
.withRequest ('GET' , '/alligator' , body: requestBody)
169
169
.willRespondWith (201 );
@@ -195,7 +195,7 @@ void main() {
195
195
};
196
196
197
197
pact
198
- .newInteraction ('create alligators' )
198
+ .newInteraction ()
199
199
.uponReceiving ('a request to create alligators' )
200
200
.withRequest ('POST' , '/alligators' , body: requestBody)
201
201
.willRespondWith (201 );
@@ -227,7 +227,7 @@ void main() {
227
227
};
228
228
229
229
pact
230
- .newInteraction ('create alligators' )
230
+ .newInteraction ()
231
231
.uponReceiving ('a request to create alligators' )
232
232
.withRequest ('POST' , '/alligators' , body: requestBody)
233
233
.willRespondWith (201 );
@@ -260,7 +260,7 @@ void main() {
260
260
};
261
261
262
262
pact
263
- .newInteraction ('create alligators' )
263
+ .newInteraction ()
264
264
.uponReceiving ('a request to create alligators' )
265
265
.withRequest ('POST' , '/alligators' , body: requestBody)
266
266
.willRespondWith (201 );
@@ -291,7 +291,7 @@ void main() {
291
291
};
292
292
293
293
pact
294
- .newInteraction ('create alligators' )
294
+ .newInteraction ()
295
295
.uponReceiving ('a request to create alligators' )
296
296
.withRequest ('POST' , '/alligators' , body: requestBody)
297
297
.willRespondWith (201 );
@@ -317,7 +317,7 @@ void main() {
317
317
final requestBody = {'numberOfTeeth' : PactMatchers .IntegerLike (80 )};
318
318
319
319
pact
320
- .newInteraction ('update alligator teeth count' )
320
+ .newInteraction ()
321
321
.uponReceiving ('a request to update betsy\' s number of teeth' )
322
322
.withRequest ('PUT' , '/alligators/1/teeth' , body: requestBody)
323
323
.willRespondWith (204 );
@@ -337,7 +337,7 @@ void main() {
337
337
final requestBody = {'numberOfTeeth' : PactMatchers .IntegerLike (80 )};
338
338
339
339
pact
340
- .newInteraction ('update alligator teeth count' )
340
+ .newInteraction ()
341
341
.uponReceiving ('a request to update betsy\' s number of teeth' )
342
342
.withRequest ('PUT' , '/alligators/1/teeth' , body: requestBody)
343
343
.willRespondWith (204 );
@@ -360,7 +360,7 @@ void main() {
360
360
};
361
361
362
362
pact
363
- .newInteraction ('update alligator accident count' )
363
+ .newInteraction ()
364
364
.uponReceiving ('a request to update betsy\' s accident count' )
365
365
.withRequest ('PUT' , '/alligators/1/accidents' , body: requestBody)
366
366
.willRespondWith (204 );
@@ -382,7 +382,7 @@ void main() {
382
382
};
383
383
384
384
pact
385
- .newInteraction ('update alligator accident count' )
385
+ .newInteraction ()
386
386
.uponReceiving ('a request to update betsy\' s accident count' )
387
387
.withRequest ('PUT' , '/alligators/1/accidents' , body: requestBody)
388
388
.willRespondWith (204 );
@@ -403,7 +403,7 @@ void main() {
403
403
final requestBody = {'favouriteFood' : PactMatchers .Null ()};
404
404
405
405
pact
406
- .newInteraction ('update alligator favourite food' )
406
+ .newInteraction ()
407
407
.uponReceiving ('a request to update betsy\' s favourite food' )
408
408
.withRequest ('PUT' , '/alligators/1/metadata' , body: requestBody)
409
409
.willRespondWith (204 );
@@ -423,7 +423,7 @@ void main() {
423
423
final requestBody = {'favouriteFood' : PactMatchers .Null ()};
424
424
425
425
pact
426
- .newInteraction ('update alligator favourite food' )
426
+ .newInteraction ()
427
427
.uponReceiving ('a request to update betsy\' s favourite food' )
428
428
.withRequest ('PUT' , '/alligators/1/metadata' , body: requestBody)
429
429
.willRespondWith (204 );
@@ -449,7 +449,7 @@ void main() {
449
449
};
450
450
451
451
pact
452
- .newInteraction ('update alligator favourite food' )
452
+ .newInteraction ()
453
453
.uponReceiving ('a request to update betsy\' s favourite food' )
454
454
.withRequest ('PUT' , '/alligators/1/metadata' , body: requestBody)
455
455
.willRespondWith (204 );
@@ -473,7 +473,7 @@ void main() {
473
473
};
474
474
475
475
pact
476
- .newInteraction ('update alligator favourite food' )
476
+ .newInteraction ()
477
477
.uponReceiving ('a request to update betsy\' s favourite food' )
478
478
.withRequest ('PUT' , '/alligators/1/metadata' , body: requestBody)
479
479
.willRespondWith (204 );
@@ -499,7 +499,7 @@ void main() {
499
499
};
500
500
501
501
pact
502
- .newInteraction ('update alligator contact email' )
502
+ .newInteraction ()
503
503
.uponReceiving ('a request to update the alligators contact email' )
504
504
.withRequest ('PUT' , '/alligator/1' , body: requestBody)
505
505
.willRespondWith (204 );
@@ -522,7 +522,7 @@ void main() {
522
522
};
523
523
524
524
pact
525
- .newInteraction ('update alligator contact email' )
525
+ .newInteraction ()
526
526
.uponReceiving ('a request to update the alligators contact email' )
527
527
.withRequest ('PUT' , '/alligator/1' , body: requestBody)
528
528
.willRespondWith (204 );
@@ -546,7 +546,7 @@ void main() {
546
546
};
547
547
548
548
pact
549
- .newInteraction ('update alligator contact email' )
549
+ .newInteraction ()
550
550
.uponReceiving ('a request to update the alligators id' )
551
551
.withRequest ('PUT' , '/alligator/1' , body: requestBody)
552
552
.willRespondWith (204 );
@@ -570,7 +570,7 @@ void main() {
570
570
};
571
571
572
572
pact
573
- .newInteraction ('update alligator contact email' )
573
+ .newInteraction ()
574
574
.uponReceiving ('a request to update the alligators id' )
575
575
.withRequest ('PUT' , '/alligator/1' , body: requestBody)
576
576
.willRespondWith (204 );
0 commit comments