public void NewResourceCommandExpectsWebControllerDisplayDialogue()
{
lock (syncroot)
{
CreateFullExportsAndVm();
_webController.Setup(w => w.DisplayDialogue(It.IsAny<IContextualResourceModel>(), false)).Verifiable();
_mainViewModel.Handle(new SetActiveEnvironmentMessage(_environmentModel.Object));
_mainViewModel.NewResourceCommand.Execute("Service");
_webController.Verify(w => w.DisplayDialogue(It.IsAny<IContextualResourceModel>(), false), Times.Once());
}
}