composer require fakerino/phpunit-ext:'1.0RC1'
then in your phpunit.xml.dist
add:
<listeners>
<listener class='FakerinoPhpUnitListener'
file='vendor/fakerino/phpunit-ext/src/Fakerino/PHPUnit/FakerinoPhpUnitListener.php'/>
</listeners>
/**
* @fakeDataProvider name, surname, integer, date
*/
public function testSimpleProvider($name, $surname, $intvalue, $date)
{
$this->assertInternalType("string", $name);
$this->assertInternalType("string", $surname);
$this->assertInternalType("integer", $intvalue);
$this->assertTrue((bool)preg_match('/\d{4}-\d{2}-\d{2}/', $date));
}