I am trying to testfor a donkey in Minecraft, but if I do \
/testfor @e[type=EntityHorse] {Type:2}
then it won't work. The only way I can think of doing it is testing if the donkey has anything in its chest inventory, but I don't want the player to be able to assess the chest on the donkey, so would there be any way to maybe have a locked chest on a donkey? Also, how would I testfor if the donkey was being ridden by a player?