I never dreamed they would come to like their teacher so much.

Literal

They [subject-が] their teacher [object-を] that-much like-become [quotative-と] I [topic-は] think [even-も] did-not.

考えもしなかった means 'didn't even think' — も adds emphasis. それほど好きになる means 'to come to like that much.'