|
@@ 84-90 (lines=7) @@
|
| 81 |
|
$this->assertEquals(2367891, $oNts->teryt_terc_id); |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
public function testSearchCommune() |
| 85 |
|
{ |
| 86 |
|
$res = $this->oApi->searchCommune()->limit(1)->get(); |
| 87 |
|
$this->assertInstanceOf(SearchResponse::class, $res); |
| 88 |
|
$this->assertEquals(1, count($res->items)); |
| 89 |
|
$this->assertInstanceOf(Commune::class, $res->items[0]->data); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
public function testSearchDistrict() |
| 93 |
|
{ |
|
@@ 92-98 (lines=7) @@
|
| 89 |
|
$this->assertInstanceOf(Commune::class, $res->items[0]->data); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
public function testSearchDistrict() |
| 93 |
|
{ |
| 94 |
|
$res = $this->oApi->searchDistrict()->limit(1)->get(); |
| 95 |
|
$this->assertInstanceOf(SearchResponse::class, $res); |
| 96 |
|
$this->assertEquals(1, count($res->items)); |
| 97 |
|
$this->assertInstanceOf(District::class, $res->items[0]->data); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
public function testSearchKrsEntity() |
| 101 |
|
{ |
|
@@ 100-106 (lines=7) @@
|
| 97 |
|
$this->assertInstanceOf(District::class, $res->items[0]->data); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
public function testSearchKrsEntity() |
| 101 |
|
{ |
| 102 |
|
$res = $this->oApi->searchKrsEntity()->limit(1)->get(); |
| 103 |
|
$this->assertInstanceOf(SearchResponse::class, $res); |
| 104 |
|
$this->assertEquals(1, count($res->items)); |
| 105 |
|
$this->assertInstanceOf(KrsEntity::class, $res->items[0]->data); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
public function testSearchKrsEntityType() |
| 109 |
|
{ |
|
@@ 108-114 (lines=7) @@
|
| 105 |
|
$this->assertInstanceOf(KrsEntity::class, $res->items[0]->data); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
public function testSearchKrsEntityType() |
| 109 |
|
{ |
| 110 |
|
$res = $this->oApi->searchKrsEntityType()->limit(1)->get(); |
| 111 |
|
$this->assertInstanceOf(SearchResponse::class, $res); |
| 112 |
|
$this->assertEquals(1, count($res->items)); |
| 113 |
|
$this->assertInstanceOf(KrsEntityType::class, $res->items[0]->data); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function testSearchProvince() |
| 117 |
|
{ |
|
@@ 116-122 (lines=7) @@
|
| 113 |
|
$this->assertInstanceOf(KrsEntityType::class, $res->items[0]->data); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function testSearchProvince() |
| 117 |
|
{ |
| 118 |
|
$res = $this->oApi->searchProvince()->limit(1)->get(); |
| 119 |
|
$this->assertInstanceOf(SearchResponse::class, $res); |
| 120 |
|
$this->assertEquals(1, count($res->items)); |
| 121 |
|
$this->assertInstanceOf(Province::class, $res->items[0]->data); |
| 122 |
|
} |
| 123 |
|
|
| 124 |
|
public function testSearchKrsPerson() |
| 125 |
|
{ |
|
@@ 124-130 (lines=7) @@
|
| 121 |
|
$this->assertInstanceOf(Province::class, $res->items[0]->data); |
| 122 |
|
} |
| 123 |
|
|
| 124 |
|
public function testSearchKrsPerson() |
| 125 |
|
{ |
| 126 |
|
$res = $this->oApi->searchKrsPerson()->limit(1)->get(); |
| 127 |
|
$this->assertInstanceOf(SearchResponse::class, $res); |
| 128 |
|
$this->assertEquals(1, count($res->items)); |
| 129 |
|
$this->assertInstanceOf(KrsPerson::class, $res->items[0]->data); |
| 130 |
|
} |
| 131 |
|
} |
| 132 |
|
|