identify() public method

Tags traits about the user.
public identify ( array $message ) : [boolean]
$message array
return [boolean]
 function testShortTimeout()
 {
     $client = new Segment_Client("oq0vdlg7yi", array("timeout" => 0.01, "consumer" => "socket"));
     $this->assertTrue($client->track(array("userId" => "some-user", "event" => "Socket PHP Event")));
     $this->assertTrue($client->identify(array("userId" => "some-user", "traits" => array())));
     $client->__destruct();
 }