Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ConfigTest Class Reference
Inheritance diagram for ConfigTest:

Public Member Functions

 testGetCcTypes ()
 
 testGetGroups ()
 

Detailed Description

Class ConfigTest

Definition at line 16 of file ConfigTest.php.

Member Function Documentation

◆ testGetCcTypes()

testGetCcTypes ( )

Definition at line 61 of file ConfigTest.php.

62  {
63  $expected = ['AE' => 'American Express', 'SM' => 'Switch/Maestro', 'SO' => 'Solo'];
64  $ccTypes = $this->model->getCcTypes();
65  $this->assertEquals($expected, $ccTypes);
66  }

◆ testGetGroups()

testGetGroups ( )

Definition at line 68 of file ConfigTest.php.

69  {
70  $expected = ['any_payment' => 'Any Payment Methods', 'offline' => 'Offline Payment Methods'];
71  $groups = $this->model->getGroups();
72  $this->assertEquals($expected, $groups);
73  }

The documentation for this class was generated from the following file: