|
@@ 124-126 (lines=3) @@
|
| 121 |
|
self::assertSame($data['payments'][$index]['attributes']['nrOfInstallments'], $payment->getNrOfInstallments()); |
| 122 |
|
self::assertSame($data['payments'][$index]['attributes']['cardType'], $payment->getCardType()); |
| 123 |
|
self::assertSame($data['payments'][$index]['attributes']['terminalVerificationResults'], $payment->getTerminalVerificationResults()); |
| 124 |
|
if (array_key_exists('applicationIdentifier', $data['payments'][$index]['attributes'])) { |
| 125 |
|
self::assertSame($data['payments'][$index]['attributes']['applicationIdentifier'], $payment->getApplicationIdentifier()); |
| 126 |
|
} |
| 127 |
|
if (array_key_exists('applicationName', $data['payments'][$index]['attributes'])) { |
| 128 |
|
self::assertSame($data['payments'][$index]['attributes']['applicationName'], $payment->getApplicationName()); |
| 129 |
|
} |
|
@@ 127-129 (lines=3) @@
|
| 124 |
|
if (array_key_exists('applicationIdentifier', $data['payments'][$index]['attributes'])) { |
| 125 |
|
self::assertSame($data['payments'][$index]['attributes']['applicationIdentifier'], $payment->getApplicationIdentifier()); |
| 126 |
|
} |
| 127 |
|
if (array_key_exists('applicationName', $data['payments'][$index]['attributes'])) { |
| 128 |
|
self::assertSame($data['payments'][$index]['attributes']['applicationName'], $payment->getApplicationName()); |
| 129 |
|
} |
| 130 |
|
} |
| 131 |
|
} |
| 132 |
|
|