public function testIsset()
 {
     $identity = Identity::getInstance(array(Identity::KLOUT_ID => 123321));
     if (isset($identity[Identity::KLOUT_ID])) {
         $this->assertTrue(true);
     }
 }
 public function testGetIdentityWithIdentity()
 {
     $consumer = new Consumer($this->getClientWithAllCalls(Identity::getInstance(array(Identity::KLOUT_ID => 123321, 'influence' => array('myInfluencers' => array('entity' => array('payload' => array())))))), 'secret_key_here');
     $identity = $consumer->getIdentity(Identity::getInstance(array(Identity::KLOUT_ID => 123321)));
     $this->assertEquals('123321', $identity->getId(), 'Identity OK');
 }