예제 #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'));
 }