You are here

public function PayPalPaymentIPNControllerTest::testPendingStatusMap in PayPal for Payment 7

Tests pendingStatusMap().

File

paypal_payment_ipn/tests/PayPalPaymentIPNControllerTest.test, line 182
Contains \PayPalPaymentIPNControllerTest.

Class

PayPalPaymentIPNControllerTest
Tests PayPalPaymentIPNController functionality.

Code

public function testPendingStatusMap() {
  foreach (PayPalPaymentIPNController::pendingStatusMap() as $paypal_status => $payment_status) {
    $this
      ->assertTrue(is_string($paypal_status));
    $this
      ->assertTrue(is_string($payment_status));
  }
}