| 1 | <?php |
||
| 10 | class APITest extends TestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var API |
||
| 14 | */ |
||
| 15 | private $api; |
||
| 16 | |||
| 17 | public function setUp(): void |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @test |
||
| 25 | * @vcr testlookup.yml |
||
| 26 | * @group PhpVcrTest |
||
| 27 | */ |
||
| 28 | public function testLookup() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @test |
||
| 38 | * @vcr testnearest.yml |
||
| 39 | * @group PhpVcrTest |
||
| 40 | */ |
||
| 41 | public function testNearest() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @test |
||
| 49 | * @vcr testrandom.yml |
||
| 50 | * @group PhpVcrTest |
||
| 51 | */ |
||
| 52 | public function testRandom() |
||
| 61 | } |
||
| 62 |