when someone asks could you have anticipated your friend's actions? what does that mean?

Knowing someone, can you predict how they will act?

Sra