public void WhenTestsAreUnloaded_StatusBar_IsInitialized() { _model.HasTests.Returns(false); _model.IsTestRunning.Returns(false); _model.Events.TestUnloaded += Raise.Event <TestEventHandler>(new TestEventArgs()); _view.Received().OnTestUnloaded(); }