public function testVatIsValid() { $vat = $this->faker->vat(); $unspacedVat = $this->faker->vat(false); $this->assertRegExp('/^(BE 0\\d{9})$/', $vat); $this->assertRegExp('/^(BE0\\d{9})$/', $unspacedVat); }
public function testVAT() { $vat = $this->faker->vat(); $this->assertTrue($this->isValidCIF($vat)); }