| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class TestCase extends PHPUnitTestCase |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @param DiscoveredUri $uri |
||
| 28 | * @param Response $response |
||
| 29 | * @return Resource |
||
| 30 | */ |
||
| 31 | protected function getResource(DiscoveredUri $uri, Response $response) |
||
| 32 | { |
||
| 33 | return new Resource($uri, $response); |
||
| 34 | } |
||
| 35 | |||
| 36 | protected function buildResourceFromFixture($fixturePath, $uriString) |
||
| 41 | ); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param $filePath /absolute/path/to/fixure |
||
|
|
|||
| 46 | */ |
||
| 47 | protected function getFixtureContent($filePath) |
||
| 52 |