Test Failed
Push — master ( e1fb16...2c0485 )
by Reüel
04:54
created

IntegrationTest::test_config()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 9
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Pronamic\WordPress\Pay\Gateways\Icepay;
4
5
/**
6
 * Title: ICEPAY - Integration test
7
 * Description:
8
 * Copyright: 2005-2019 Pronamic
9
 * Company: Pronamic
10
 *
11
 * @author Remco Tolsma
12
 * @version 2.0.0
13
 */
14
class IntegrationTest extends \PHPUnit_Framework_TestCase {
15
	public function test_config() {
16
		$integration = new Integration();
17
18
		$expected = __NAMESPACE__ . '\ConfigFactory';
19
20
		$class = $integration->get_config_factory_class();
21
22
		$this->assertEquals( $expected, $class );
23
		$this->assertTrue( class_exists( $class ) );
24
	}
25
}
26