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 |
tests/Repo/PaginatedKnpLabsRepoFacadeTest.php 1 location
|
@@ 70-77 (lines=8) @@
|
| 67 |
|
/** |
| 68 |
|
* @return m\MockInterface |
| 69 |
|
*/ |
| 70 |
|
private function provideTestRepo() |
| 71 |
|
{ |
| 72 |
|
$githubRepo = m::mock('DevBoardLib\GithubCore\Repo\GithubRepo'); |
| 73 |
|
$githubRepo->shouldReceive('getOwner')->andReturn('devboard'); |
| 74 |
|
$githubRepo->shouldReceive('getName')->andReturn('test-hitman'); |
| 75 |
|
|
| 76 |
|
return $githubRepo; |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
/** |
| 80 |
|
* @return m\MockInterface |