Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CcGenericConfigProviderTest.php
Go to the documentation of this file.
1 <?php
7 
11 
12 class CcGenericConfigProviderTest extends \PHPUnit\Framework\TestCase
13 {
15  protected $model;
16 
18  protected $ccConfigMock;
19 
21  protected $paymentHelperMock;
22 
23  protected function setUp()
24  {
25  $this->ccConfigMock = $this->createMock(\Magento\Payment\Model\CcConfig::class);
26  $this->paymentHelperMock = $this->createMock(\Magento\Payment\Helper\Data::class);
27 
28  $this->model = new CcGenericConfigProvider(
29  $this->ccConfigMock,
30  $this->paymentHelperMock
31  );
32  }
33 
34  public function testGetConfig()
35  {
36  $this->assertEquals([], $this->model->getConfig());
37  }
38 }