public LoginViewModel() { azureService = new AzureLoginService(); LoginCommand = new RelayCommand(DoLogin); LogOutCommand = new RelayCommand(DoLogout); MonitorCommand = new RelayCommand(DoMonitor); myDeviceTest = new DeviceTest(); }
public void AzureLogin_ShouldAttemptToLogin_WhenAccessedCorrectlyWithoutACertificate() { Assert.Throws <AdalServiceException>(() => { AzureLoginService.AzureLogin("a", "b", "c"); }); }