and how they would expect how they would
Expectations sometimes play into how other people behave, you can predict their response if you know them well enough.