'A set of assertions for an anonymous XBlockUser.'

def assert_is_anon_xb_user(self, xb_user):

    self.assertFalse(xb_user.opt_attrs[ATTR_KEY_IS_AUTHENTICATED])
    self.assertIsNone(xb_user.full_name)
    self.assertListEqual(xb_user.emails, [])
