Wardens will attack any mob except other wardens(like zoglin), even if their target is their teammate. Other mobs won't do that.
- Create a team called "a"
- Close the friendly fire of this team
- Join this team
- Summon a warden of "a".
- Change your gamemode to adventure or survival
- Make some noise to annoy the warden
-> The warden roar toward you and kill you, unlike most other mobs in your team.