public FeedbackViewModel(Dictionary<string, string> attachedFiles, string attachments) { Attachments = attachments; SysInfoService = CustomContainer.Get<ISystemInfoService>(); var sysInfo = SysInfoService.GetSystemInfo(); Init(sysInfo, attachedFiles); SelectedCategory = "Feedback"; DisplayName = "Feedback"; BrowserPopupController = new ExternalBrowserPopupController(); }
public void ExternalBrowserPopupControllerShowPopupExpectedReturnsTrue() { var controller = new ExternalBrowserPopupController(); var result = controller.ShowPopup(null); Assert.IsTrue(result); }