Code Duplication    Length = 9-9 lines in 2 locations

src/Tests/Authenticator/JwtKeyTest.php 2 locations

@@ 90-98 (lines=9) @@
87
    /**
88
     * @test
89
     */
90
    public function willGetRsaSignatureValidatorWhenTypeIsNotSpecified()
91
    {
92
        $key    = new JwtKey(['secret' => 'Buy the book']);
93
        $actual = $key->getSignatureValidator();
94
        $this->assertInstanceOf(
95
            'KleijnWeb\JwtBundle\Authenticator\SignatureValidator\HmacValidator',
96
            $actual
97
        );
98
    }
99
100
    /**
101
     * @test
@@ 103-111 (lines=9) @@
100
    /**
101
     * @test
102
     */
103
    public function willGetRsaSignatureValidatorWhenTypeIsRsa()
104
    {
105
        $key    = new JwtKey(['secret' => 'Buy the book', 'type' => JwtKey::TYPE_RSA]);
106
        $actual = $key->getSignatureValidator();
107
        $this->assertInstanceOf(
108
            'KleijnWeb\JwtBundle\Authenticator\SignatureValidator\RsaValidator',
109
            $actual
110
        );
111
    }
112
113
    /**
114
     * @test