Code Duplication    Length = 10-11 lines in 2 locations

tests/SlevomatEET/Cryptography/CryptographyServiceTest.php 2 locations

@@ 61-70 (lines=10) @@
58
		}
59
	}
60
61
	public function testWSESignatureWithoutPrivateKeyPassword()
62
	{
63
		$request = $this->getRequestData();
64
		$crypto = new CryptographyService(
65
			__DIR__ . '/../../../cert/EET_CA1_Playground-CZ00000019.key',
66
			__DIR__ . '/../../../cert/EET_CA1_Playground-CZ00000019.pub'
67
		);
68
69
		$this->assertNotEmpty($crypto->addWSESignature($request));
70
	}
71
72
	public function testWSESignatureWithPrivateKeyPassword()
73
	{
@@ 72-82 (lines=11) @@
69
		$this->assertNotEmpty($crypto->addWSESignature($request));
70
	}
71
72
	public function testWSESignatureWithPrivateKeyPassword()
73
	{
74
		$request = $this->getRequestData();
75
		$crypto = new CryptographyService(
76
			__DIR__ . '/../../../cert/EET_CA1_Playground_With_Password-CZ00000019.key',
77
			__DIR__ . '/../../../cert/EET_CA1_Playground-CZ00000019.pub',
78
			'eet'
79
		);
80
81
		$this->assertNotEmpty($crypto->addWSESignature($request));
82
	}
83
84
	public function testWSESignatureWithInvalidPrivateKeyPassword()
85
	{