| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class AddressTest extends AbstractTest |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * testSetFullName |
||
| 17 | */ |
||
| 18 | public function testSetFullName() |
||
| 19 | { |
||
| 20 | $faker = Factory::create(); |
||
| 21 | $address = new Address(); |
||
| 22 | $fullName = $faker->name.' '.$faker->lastName; |
||
| 23 | $address->setFullName($fullName); |
||
| 24 | $this->assertSame($fullName, $address->getFullName()); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * testSetTaxId |
||
| 29 | */ |
||
| 30 | public function testSetTaxId() |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * testSetNationalId |
||
| 40 | */ |
||
| 41 | public function testSetNationalId() |
||
| 49 |