addProvider(new Payment($faker)); $this->faker = $faker; } 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); } }