CheckHealthTest::testSuccess()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 8
nc 1
nop 0
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