Code Duplication    Length = 10-10 lines in 2 locations

spec/Request/RequestRefreshTokenSpec.php 2 locations

@@ 59-68 (lines=10) @@
56
        $this->getRefreshToken($request)->shouldBe('abcd');
57
    }
58
59
    public function it_gets_from_query_param_using_camel_case_naming(NameGeneratorInterface $nameGenerator)
60
    {
61
        $nameGenerator->generateName('refresh_token')
62
            ->willReturn('refreshToken');
63
64
        $request = Request::createFromGlobals();
65
        $request->attributes->set('refreshToken', 'abcd');
66
67
        $this->getRefreshToken($request)->shouldBe('abcd');
68
    }
69
70
    public function it_gets_from_body_using_camel_case_naming(NameGeneratorInterface $nameGenerator)
71
    {
@@ 70-79 (lines=10) @@
67
        $this->getRefreshToken($request)->shouldBe('abcd');
68
    }
69
70
    public function it_gets_from_body_using_camel_case_naming(NameGeneratorInterface $nameGenerator)
71
    {
72
        $nameGenerator->generateName('refresh_token')
73
            ->willReturn('refreshToken');
74
75
        $request = Request::createFromGlobals();
76
        $request->request->set('refreshToken', 'abcd');
77
78
        $this->getRefreshToken($request)->shouldBe('abcd');
79
    }
80
81
    public function it_gets_from_json_using_camel_case_naming(NameGeneratorInterface $nameGenerator)
82
    {