Code Duplication    Length = 8-8 lines in 2 locations

tests/Repo/PaginatedKnpLabsRepoFacadeTest.php 1 location

@@ 52-59 (lines=8) @@
49
    /**
50
     * @return m\MockInterface
51
     */
52
    private function provideTestRepo()
53
    {
54
        $githubRepo = m::mock('DevBoardLib\GithubCore\Repo\GithubRepo');
55
        $githubRepo->shouldReceive('getOwner')->andReturn('devboard');
56
        $githubRepo->shouldReceive('getName')->andReturn('test-hitman');
57
58
        return $githubRepo;
59
    }
60
61
    /**
62
     * @return m\MockInterface

tests/Repo/RepoFacadeFactoryTest.php 1 location

@@ 25-32 (lines=8) @@
22
    /**
23
     * @return m\MockInterface
24
     */
25
    private function provideTestRepo()
26
    {
27
        $githubRepo = m::mock('DevBoardLib\GithubCore\Repo\GithubRepo');
28
        $githubRepo->shouldReceive('getOwner')->andReturn('devboard');
29
        $githubRepo->shouldReceive('getName')->andReturn('test-hitman');
30
31
        return $githubRepo;
32
    }
33
34
    /**
35
     * @return m\MockInterface