@@ -188,9 +188,6 @@ public function testSupportsUpdateCard()
188
188
}
189
189
}
190
190
191
- /**
192
- * @doesNotPerformAssertions
193
- */
194
191
public function testAuthorizeParameters ()
195
192
{
196
193
if ($ this ->gateway ->supportsAuthorize ()) {
@@ -205,12 +202,11 @@ public function testAuthorizeParameters()
205
202
$ request = $ this ->gateway ->authorize ();
206
203
$ this ->assertSame ($ value , $ request ->$ getter ());
207
204
}
205
+ } else {
206
+ $ this ->expectNotToPerformAssertions ();
208
207
}
209
208
}
210
209
211
- /**
212
- * @doesNotPerformAssertions
213
- */
214
210
public function testCompleteAuthorizeParameters ()
215
211
{
216
212
if ($ this ->gateway ->supportsCompleteAuthorize ()) {
@@ -225,12 +221,11 @@ public function testCompleteAuthorizeParameters()
225
221
$ request = $ this ->gateway ->completeAuthorize ();
226
222
$ this ->assertSame ($ value , $ request ->$ getter ());
227
223
}
224
+ } else {
225
+ $ this ->expectNotToPerformAssertions ();
228
226
}
229
227
}
230
228
231
- /**
232
- * @doesNotPerformAssertions
233
- */
234
229
public function testCaptureParameters ()
235
230
{
236
231
if ($ this ->gateway ->supportsCapture ()) {
@@ -245,12 +240,11 @@ public function testCaptureParameters()
245
240
$ request = $ this ->gateway ->capture ();
246
241
$ this ->assertSame ($ value , $ request ->$ getter ());
247
242
}
243
+ } else {
244
+ $ this ->expectNotToPerformAssertions ();
248
245
}
249
246
}
250
247
251
- /**
252
- * @doesNotPerformAssertions
253
- */
254
248
public function testPurchaseParameters ()
255
249
{
256
250
if ($ this ->gateway ->supportsPurchase ()) {
@@ -265,12 +259,11 @@ public function testPurchaseParameters()
265
259
$ request = $ this ->gateway ->purchase ();
266
260
$ this ->assertSame ($ value , $ request ->$ getter ());
267
261
}
262
+ } else {
263
+ $ this ->expectNotToPerformAssertions ();
268
264
}
269
265
}
270
266
271
- /**
272
- * @doesNotPerformAssertions
273
- */
274
267
public function testCompletePurchaseParameters ()
275
268
{
276
269
if ($ this ->gateway ->supportsCompletePurchase ()) {
@@ -285,12 +278,11 @@ public function testCompletePurchaseParameters()
285
278
$ request = $ this ->gateway ->completePurchase ();
286
279
$ this ->assertSame ($ value , $ request ->$ getter ());
287
280
}
281
+ } else {
282
+ $ this ->expectNotToPerformAssertions ();
288
283
}
289
284
}
290
285
291
- /**
292
- * @doesNotPerformAssertions
293
- */
294
286
public function testRefundParameters ()
295
287
{
296
288
if ($ this ->gateway ->supportsRefund ()) {
@@ -305,12 +297,11 @@ public function testRefundParameters()
305
297
$ request = $ this ->gateway ->refund ();
306
298
$ this ->assertSame ($ value , $ request ->$ getter ());
307
299
}
300
+ } else {
301
+ $ this ->expectNotToPerformAssertions ();
308
302
}
309
303
}
310
304
311
- /**
312
- * @doesNotPerformAssertions
313
- */
314
305
public function testVoidParameters ()
315
306
{
316
307
if ($ this ->gateway ->supportsVoid ()) {
@@ -325,12 +316,11 @@ public function testVoidParameters()
325
316
$ request = $ this ->gateway ->void ();
326
317
$ this ->assertSame ($ value , $ request ->$ getter ());
327
318
}
319
+ } else {
320
+ $ this ->expectNotToPerformAssertions ();
328
321
}
329
322
}
330
323
331
- /**
332
- * @doesNotPerformAssertions
333
- */
334
324
public function testCreateCardParameters ()
335
325
{
336
326
if ($ this ->gateway ->supportsCreateCard ()) {
@@ -345,12 +335,11 @@ public function testCreateCardParameters()
345
335
$ request = $ this ->gateway ->createCard ();
346
336
$ this ->assertSame ($ value , $ request ->$ getter ());
347
337
}
338
+ } else {
339
+ $ this ->expectNotToPerformAssertions ();
348
340
}
349
341
}
350
342
351
- /**
352
- * @doesNotPerformAssertions
353
- */
354
343
public function testDeleteCardParameters ()
355
344
{
356
345
if ($ this ->gateway ->supportsDeleteCard ()) {
@@ -365,12 +354,11 @@ public function testDeleteCardParameters()
365
354
$ request = $ this ->gateway ->deleteCard ();
366
355
$ this ->assertSame ($ value , $ request ->$ getter ());
367
356
}
357
+ } else {
358
+ $ this ->expectNotToPerformAssertions ();
368
359
}
369
360
}
370
361
371
- /**
372
- * @doesNotPerformAssertions
373
- */
374
362
public function testUpdateCardParameters ()
375
363
{
376
364
if ($ this ->gateway ->supportsUpdateCard ()) {
@@ -385,6 +373,8 @@ public function testUpdateCardParameters()
385
373
$ request = $ this ->gateway ->updateCard ();
386
374
$ this ->assertSame ($ value , $ request ->$ getter ());
387
375
}
376
+ } else {
377
+ $ this ->expectNotToPerformAssertions ();
388
378
}
389
379
}
390
380
}
0 commit comments