| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class IntegrationTest extends \PHPUnit_Framework_TestCase { |
||
| 15 | /** |
||
| 16 | * Integration. |
||
| 17 | * |
||
| 18 | * @var Integration |
||
| 19 | */ |
||
| 20 | public $integration; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Setup. |
||
| 24 | */ |
||
| 25 | public function setUp() { |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Test config. |
||
| 31 | */ |
||
| 32 | public function test_config() { |
||
| 33 | $config = $this->integration->get_config( 99 ); |
||
| 34 | |||
| 35 | $this->assertInstanceOf( __NAMESPACE__ . '\Config', $config ); |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Test gateway. |
||
| 40 | */ |
||
| 41 | public function test_gateway() { |
||
| 42 | $gateway = $this->integration->get_gateway( 99 ); |
||
| 43 | |||
| 44 | $this->assertInstanceOf( __NAMESPACE__ . '\Gateway', $gateway ); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Test settings. |
||
| 49 | */ |
||
| 50 | public function test_settings() { |
||
| 52 | } |
||
| 53 | } |
||
| 54 |