So I\'ve got this nice little MVVM solution, and things work great. I\'ve got a view model for a header bar that adjusts the icon based on the state of the application, etc. I\'
I think you can fix this by creating an instance of your main application class before running any tests. This will wire up the handlers that Julien mentions in the other answer.