public void TestHandleProjectOpeningEventShouldSetHideStartMenu() { _service.Handle(new ProjectOpeningEvent()); _mockState.VerifySet(p => p.IsStartMenuVisible = false, Times.Once()); _mockEventBus.Verify(p => p.Raise(It.IsAny <StartMenuVisibilityChangedEvent>())); }