def METHOD_NAME(self):
    self.client.force_authenticate(self.user2)
    resp = self.client.get("/accounts/profile/")
    self.assertEqual(resp.status_code, 200)
    profile_data = resp.json()
    self.assertEqual(profile_data["username"], "user2")
    self.assertEqual(profile_data["email"], "user2@rejected.test")
    self.assertEqual(profile_data["is_trusted"], False) # Email domain is rejected