You are here

public function PayPalPaymentIPNControllerTest::testStatusMap in PayPal for Payment 7

Tests statusMap().

File

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

Class

PayPalPaymentIPNControllerTest
Tests PayPalPaymentIPNController functionality.

Code

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