1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-24 09:19:50 +01:00

Remove nl_NL unit test, which doesn't really test what the class does.

This commit is contained in:
Francois Zaninotto 2013-06-09 19:20:07 +02:00
parent 7b0f8cf831
commit 585d999e87

View File

@ -1,46 +0,0 @@
<?php
namespace Faker\Test\Provider\nl_NL;
/**
* @author Mark van der Velden <mark@dynom.nl>
*/
class PersonTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Faker\Generator
*/
private $faker;
public function setUp()
{
$faker = new \Faker\Generator();
$faker->addProvider(new \Faker\Provider\nl_NL\Person($faker));
$this->faker = $faker;
}
public function testGeneratingFirstNames()
{
for ($i=0; $i<50; $i++)
{
$this->assertInternalType('string', $this->faker->firstName());
}
}
public function testGeneratingLastNames()
{
for ($i=0; $i<50; $i++)
{
$this->assertInternalType('string', $this->faker->lastName());
}
}
public function testGeneratingNames()
{
for ($i=0; $i<50; $i++)
{
$this->assertInternalType('string', $this->faker->name());
}
}
}