CheckHealthTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testSuccess() 0 13 1
1
<?php
2
3
namespace HelePartnerSyncApi\Method;
4
5
class CheckHealthTest extends MethodTestCase
6
{
7
8
	public function testSuccess()
9
	{
10
		$data = array(
11
			'foo' => 'fooValue',
12
			'bar' => 'barValue',
13
		);
14
		$request = $this->getRequestMock($data);
15
16
		$method = new CheckHealth();
17
		$response = $method->call($request);
18
19
		$this->assertSame($data, $response);
20
	}
21
22
}
23