calling <code>this.view.initialize()</code> again after creating the spy fixed the problem