diff --git a/tests/Service/FakerManagerTest.php b/tests/Service/FakerManagerTest.php index 19157aa..d2cb82d 100644 --- a/tests/Service/FakerManagerTest.php +++ b/tests/Service/FakerManagerTest.php @@ -95,4 +95,18 @@ public function testGetRandomCity() $result = $faker->getRandomCity(); self::assertIsString($result); } + + public function testGetRandomPhoneNumber() + { + $faker = new FakerManager(); + $result = $faker->getRandomPhoneNumber(); + self::assertIsString($result); + } + + public function testGetRandomDateTimeThisMonth() + { + $faker = new FakerManager(); + $result = $faker->getRandomDateTimeThisMonth(); + self::assertTrue($result instanceof \DateTime); + } }