def METHOD_NAME(self):
    request = DummyRequest()
    policy = self._makeOne(
                base='pyramid.authentication.SessionAuthenticationPolicy',
                prefix='')
    result = policy.remember(request, 'user.fred')
    self.assertEqual(request.session.get('userid'), 'fred')
    self.assertEqual(result, [])
    self.assertEqual(policy.unauthenticated_userid(request), 'user.fred')