public void DeactivateWithCloseAndTwoTabsExpectBuildTwiceWithEmptyDebugWriterWriteMessage()
{
lock (syncroot)
{
CreateFullExportsAndVm();
_eventAggregator.Setup(e => e.Publish(It.IsAny<UpdateDeployMessage>()))
.Verifiable();
AddAdditionalContext();
_mainViewModel.Dispose();
_eventAggregator.Verify(e => e.Publish(It.IsAny<UpdateDeployMessage>()), Times.Exactly(2));
}
}