diff --git a/test/Faker/Provider/ar_JO/InternetTest.php b/test/Faker/Provider/ar_JO/InternetTest.php new file mode 100644 index 0000000000..d323f1e7ee --- /dev/null +++ b/test/Faker/Provider/ar_JO/InternetTest.php @@ -0,0 +1,32 @@ +addProvider(new Person($faker)); + $faker->addProvider(new Internet($faker)); + $faker->addProvider(new Company($faker)); + $this->faker = $faker; + } + + public function testEmailIsValid() + { + $email = $this->faker->email(); + $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL)); + } +}