def METHOD_NAME(self):
    group_url = "/buckets/beers/groups/users"
    group = {**MINIMALIST_GROUP}
    group["data"]["members"].append(self.principal)
    self.app.put_json("/buckets/beers", MINIMALIST_BUCKET, headers=self.headers)
    self.app.put_json(group_url, group, headers=self.headers)
    response = self.app.get("/", headers=self.headers).json["user"]["principals"]
    principals = ("system.Everyone", "system.Authenticated", group_url, self.principal)
    self.assertEqual(sorted(response), sorted(principals))