Code Duplication    Length = 7-7 lines in 2 locations

tests/SlevomatEET/ClientTest.php 2 locations

@@ 50-56 (lines=7) @@
47
48
		$soapClient->expects($this->once())
49
			->method('OdeslaniTrzby')
50
			->with($this->callback(function (array $request) {
51
				$this->assertArrayHasKey('Hlavicka', $request);
52
				$this->assertArrayHasKey('Data', $request);
53
				$this->assertArrayHasKey('KontrolniKody', $request);
54
55
				return true;
56
			}))
57
			->willReturn($responseData);
58
59
		$response = $client->send($receipt);
@@ 91-97 (lines=7) @@
88
89
		$soapClient->expects($this->once())
90
			->method('OdeslaniTrzby')
91
			->with($this->callback(function (array $request) {
92
				$this->assertArrayHasKey('Hlavicka', $request);
93
				$this->assertArrayHasKey('Data', $request);
94
				$this->assertArrayHasKey('KontrolniKody', $request);
95
96
				return true;
97
			}))
98
			->willReturn($responseData);
99
100
		try {