public function testMapUser($data, $mappedData)
{
$data['token'] = $this->Token;
$this->SocialAuthenticate = $this->_getSocialAuthenticateMock();
$reflectedClass = new ReflectionClass($this->SocialAuthenticate);
$mapUser = $reflectedClass->getMethod('_mapUser');
$mapUser->setAccessible(true);
$this->Token->expects($this->once())->method('getToken')->will($this->returnValue('token'));
$this->Token->expects($this->once())->method('getExpires')->will($this->returnValue(1458510952));
$result = $mapUser->invoke($this->SocialAuthenticate, 'Facebook', $data);
unset($result['raw']);
$this->assertEquals($mappedData, $result);
}