Code Duplication    Length = 7-7 lines in 2 locations

spec/Request/RequestRefreshTokenSpec.php 2 locations

@@ 12-18 (lines=7) @@
9
{
10
    const TOKEN_PARAMETER_NAME = 'refresh_token';
11
12
    public function it_gets_from_query_param()
13
    {
14
        $request = Request::createFromGlobals();
15
        $request->attributes->set(self::TOKEN_PARAMETER_NAME, 'abcd');
16
17
        $this::getRefreshToken($request, self::TOKEN_PARAMETER_NAME)->shouldBe('abcd');
18
    }
19
20
    public function it_gets_from_body()
21
    {
@@ 20-26 (lines=7) @@
17
        $this::getRefreshToken($request, self::TOKEN_PARAMETER_NAME)->shouldBe('abcd');
18
    }
19
20
    public function it_gets_from_body()
21
    {
22
        $request = Request::createFromGlobals();
23
        $request->request->set(self::TOKEN_PARAMETER_NAME, 'abcd');
24
25
        $this::getRefreshToken($request, self::TOKEN_PARAMETER_NAME)->shouldBe('abcd');
26
    }
27
28
    public function it_gets_from_json()
29
    {