public void ThenSnowWhiteCoreShouldGetADisplayNameFromSnowWhiteCloud() { var task = mockCommunicationService.GetMirrorNames(); task.Wait(); names = task.Result; Assert.IsNotNull(names.DisplayName); }
public MirrorNames GetLocalMirrorNames() { var names = new MirrorNames(); names.DisplayName = "specFlow#4444"; names.SecretName = "topSecretName"; return(names); }
public Task <MirrorNames> GetMirrorNames() { return(new TaskFactory().StartNew(() => { var names = new MirrorNames(); names.DisplayName = "specFlow#4444"; names.SecretName = "topSecretName"; return names; })); }
public MirrorNames GetLocalMirrorNames() { MirrorNames names = null; if (localSettings.Values["SecretName"] != null && localSettings.Values["DisplayName"] != null) { names = new MirrorNames() { DisplayName = localSettings.Values["DisplayName"].ToString(), SecretName = localSettings.Values["SecretName"].ToString() }; return(names); } else { return(null); } }
public void PutLocalMirrorNames(MirrorNames names) { localSettings.Values["DisplayName"] = names.DisplayName; localSettings.Values["SecretName"] = names.SecretName; }
public void PutLocalMirrorNames(MirrorNames names) { throw new NotImplementedException(); }
public MockAppSettings() { this.names = new MirrorNames(); names.DisplayName = "specFlow#4444"; names.SecretName = "topSecretName"; }
public void PutLocalMirrorNames(MirrorNames names) { localStorage = names; }
public void PutLocalMirrorNames(MirrorNames names) { }