|
@@ 45-53 (lines=9) @@
|
| 42 |
|
$this->assertEquals('Brazil', $this->job->getCountry()); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function testLocationIsAcre() |
| 46 |
|
{ |
| 47 |
|
$this->apiJob->locations = 'Acre'; |
| 48 |
|
$this->job = JobWithBrazilianLocationsBuilder::fromApi($this->apiJob, $this->job); |
| 49 |
|
|
| 50 |
|
$this->assertEquals('AC', $this->job->getState()); |
| 51 |
|
$this->assertNull($this->job->getCity()); |
| 52 |
|
$this->assertEquals('Brazil', $this->job->getCountry()); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
public function testLocationIsAlagoas() |
| 56 |
|
{ |
|
@@ 55-63 (lines=9) @@
|
| 52 |
|
$this->assertEquals('Brazil', $this->job->getCountry()); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
public function testLocationIsAlagoas() |
| 56 |
|
{ |
| 57 |
|
$this->apiJob->locations = 'Alagoas'; |
| 58 |
|
$this->job = JobWithBrazilianLocationsBuilder::fromApi($this->apiJob, $this->job); |
| 59 |
|
|
| 60 |
|
$this->assertEquals('AL', $this->job->getState()); |
| 61 |
|
$this->assertNull($this->job->getCity()); |
| 62 |
|
$this->assertEquals('Brazil', $this->job->getCountry()); |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
public function testLocationIsAmapa() |
| 66 |
|
{ |
|
@@ 82-90 (lines=9) @@
|
| 79 |
|
$this->assertEquals('Brazil', $this->job->getCountry()); |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
public function testLocationIsAmazonas() |
| 83 |
|
{ |
| 84 |
|
$this->apiJob->locations = 'Amazonas'; |
| 85 |
|
$this->job = JobWithBrazilianLocationsBuilder::fromApi($this->apiJob, $this->job); |
| 86 |
|
|
| 87 |
|
$this->assertEquals('AM', $this->job->getState()); |
| 88 |
|
$this->assertNull($this->job->getCity()); |
| 89 |
|
$this->assertEquals('Brazil', $this->job->getCountry()); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
public function testLocationIsBahia() |
| 93 |
|
{ |