test_get_calculations_parameters_out()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Pronamic\WordPress\Pay\Gateways\Ingenico;
4
5
class SecurityTest extends \WP_UnitTestCase {
6
	/**
7
	 * Test get calculations parameters in.
8
	 */
9
	public function test_get_calculations_parameters_in() {
10
		$parameters = Security::get_calculations_parameters_in();
11
12
		$this->assertContains( Parameters::AMOUNT, $parameters );
13
	}
14
15
	/**
16
	 * Test get calculations parameters out.
17
	 */
18
	public function test_get_calculations_parameters_out() {
19
		$parameters = Security::get_calculations_parameters_out();
20
21
		$this->assertContains( Parameters::NC_ERROR, $parameters );
22
	}
23
}
24