示例#1
0
 public function testKanaNameReturnsAotaNaoko()
 {
     $faker = new Generator();
     $faker->addProvider(new Person($faker));
     $faker->seed(1);
     $this->assertEquals('アオタ ナオコ', $faker->kanaName());
 }
示例#2
0
 public function testKanaNameFemaleReturns()
 {
     $faker = new Generator();
     $faker->addProvider(new Person($faker));
     $faker->seed(1);
     $this->assertEquals('アオタ ミキ', $faker->kanaName('female'));
 }