public function testGetUserNotEmailProvidedTwitter($rawData, $mapper)
{
$this->SocialAuthenticate->expects($this->once())->method('_authenticate')->with($this->Request)->will($this->returnValue($rawData));
$this->SocialAuthenticate->expects($this->once())->method('_getProviderName')->will($this->returnValue('twitter'));
$this->SocialAuthenticate->expects($this->once())->method('_mapUser')->will($this->returnValue($mapper));
$this->SocialAuthenticate->expects($this->once())->method('_socialLogin')->will($this->throwException(new MissingEmailException('missing email')));
$this->SocialAuthenticate->getUser($this->Request);
}