/**
* @expectedException \Exception
* @expectedExceptionMessage checkUserHasSomeAdminAccess Fake exception
*/
public function testGetUserLoginFromUserEmail_shouldThrowException_IfUserDoesNotHaveAtLeastAdminPermission()
{
FakeAccess::clearAccess($superUser = false, $admin = array(), $view = array(1));
$this->api->getUserLoginFromUserEmail('*****@*****.**');
}