getRealName() public method

Gets the user's real name if supplied.
public getRealName ( ) : string
return string The user's real name, or null if no name was given.
Ejemplo n.º 1
0
 public function testRealName()
 {
     $name = $this->faker->name;
     $user = new User($this->client, ['profile' => ['real_name' => $name]]);
     $this->assertEquals($name, $user->getRealName());
 }