Code Duplication    Length = 7-7 lines in 2 locations

tests/SlevomatEET/ClientTest.php 2 locations

@@ 55-61 (lines=7) @@
52
53
		$soapClient->expects($this->once())
54
			->method('OdeslaniTrzby')
55
			->with($this->callback(function (array $request) {
56
				$this->assertArrayHasKey('Hlavicka', $request);
57
				$this->assertArrayHasKey('Data', $request);
58
				$this->assertArrayHasKey('KontrolniKody', $request);
59
60
				return true;
61
			}))
62
			->willReturn($responseData);
63
64
		$response = $client->send($receipt);
@@ 96-102 (lines=7) @@
93
94
		$soapClient->expects($this->once())
95
			->method('OdeslaniTrzby')
96
			->with($this->callback(function (array $request) {
97
				$this->assertArrayHasKey('Hlavicka', $request);
98
				$this->assertArrayHasKey('Data', $request);
99
				$this->assertArrayHasKey('KontrolniKody', $request);
100
101
				return true;
102
			}))
103
			->willReturn($responseData);
104
105
		try {