It’s certainly something I did not anticipate to happen.

英訳に間違いが有れば正してください。

そんなことが起こるとは全く予想していなかった。
Its certainly something I did not anticipate to happen.

ヒント
動詞の用法

答え to happenをhappeningにする

I’ts certainly something I did not anticipate happening.

anticipateは目的語に動名詞を取る動詞