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. |
public function testRealName() { $name = $this->faker->name; $user = new User($this->client, ['profile' => ['real_name' => $name]]); $this->assertEquals($name, $user->getRealName()); }