This test should probably check for the triggered event rather than just that a particular function on the view was called; the latter is only interesting internally to the view.