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

IntegrationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_config() 0 9 1
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