def METHOD_NAME(self):
    self.request._auth = self.basic
    # Roles will be determined by looking at 'doc' itself
    user = self.uf.validate(self.request, self.basic)
    self.assertEqual(user.getUserName(), TEST_USER_NAME)