예제 #1
0
 public function testCity()
 {
     $city = $this->faker->city();
     $this->assertNotEmpty($city);
     $this->assertInternalType('string', $city);
     $this->assertRegExp('/[A-Z][a-z]+/', $city);
 }
예제 #2
0
 public function testCity()
 {
     $city = $this->faker->city();
     $this->assertNotEmpty($city);
     $this->assertInternalType('string', $city);
 }