public void VsixUpdateAssemblyDialogTest()
        {
            var packageSettings = GetTestPackageSettings();

            packageSettings.AddToSolution = false;
            DeployAssembly(packageSettings);
            packageSettings.AddToSolution = true;
            var dialog = new UpdateAssemblyDialog(new FakeDialogController(new FakeApplicationController()),
                                                  new FakeVisualStudioService(), XrmRecordService, packageSettings);

            dialog.Controller.BeginDialog();
        }
        public void VsixUpdateAssemblyDialogTest()
        {
            //lets run the update assembly dialog
            //does not actually update the assembly because the assembly is unchanged

            var packageSettings = GetTestPackageSettings();

            packageSettings.AddToSolution = false;

            //first deploy the assembly
            DeployAssembly(packageSettings);

            //update the assembly
            packageSettings.AddToSolution = true;
            var dialog = new UpdateAssemblyDialog(new FakeDialogController(new FakeApplicationController()),
                                                  new FakeVisualStudioService(), XrmRecordService, packageSettings);

            dialog.Controller.BeginDialog();
        }