public void WebHook_Roundtrips() { PropertyAssert.Roundtrips(_workItem, s => s.WebHook, PropertySetter.NullRoundtrips, defaultValue: _webHook, roundtripValue: new WebHook()); }
public void Results_Roundtrips() { List <int> roundtrips = new List <int>(); PropertyAssert.Roundtrips(this.queryResult, r => r.Results, PropertySetter.NullThrows, defaultValue: this.results, roundtripValue: roundtrips); }
public void Name_Roundtrips() { PropertyAssert.Roundtrips(_filter, f => f.Name, PropertySetter.NullRoundtrips, roundtripValue: "你好世界"); }
public void EnableTestSend_Roundtrips() { PropertyAssert.Roundtrips(this.client, c => c.EnableTestSend, defaultValue: false, roundtripValue: true); }
public void Provider_Roundtrips() { PropertyAssert.Roundtrips(this.creds, c => c.Provider, PropertySetter.NullRoundtrips, defaultValue: "TestProvider", roundtripValue: "你好世界"); }
public void Width_Roundtrips() { PropertyAssert.Roundtrips(_media, m => m.Width, defaultValue: 0, roundtripValue: 1024); }
public void ConnectionString_Roundtrips() { PropertyAssert.Roundtrips(this.settings, s => s.ConnectionString, PropertySetter.NullThrows, defaultValue: ConnectionString, roundtripValue: "Value"); }
public void IsPaused_Roundtrips() { PropertyAssert.Roundtrips(_webHook, w => w.IsPaused, defaultValue: false, roundtripValue: true); }
public void Id_Roundtrips() { PropertyAssert.Roundtrips(_webHook, w => w.Id, PropertySetter.NullDoesNotRoundtrip, roundtripValue: "你好世界"); }
public void FullName_Roundtrips() { PropertyAssert.Roundtrips(_user, u => u.FullName, PropertySetter.NullRoundtrips, roundtripValue: "Value"); }
public void ProfilePicture_Roundtrips() { Uri roundtrip = new Uri("http://localhost"); PropertyAssert.Roundtrips(_user, u => u.ProfilePicture, PropertySetter.NullRoundtrips, roundtripValue: roundtrip); }
public void Id_Roundtrips() { PropertyAssert.Roundtrips(_user, u => u.Id, PropertySetter.NullRoundtrips, roundtripValue: "Value"); }
public void Action_Roundtrips() { PropertyAssert.Roundtrips(_notification, n => n.Action, PropertySetter.NullThrows, defaultValue: TestAction, roundtripValue: "你好世界"); }
public void Offset_Roundtrips() { _workItem.Offset = 1024; PropertyAssert.Roundtrips(_workItem, s => s.Offset, defaultValue: 1024, roundtripValue: 2048); }
public void HostName_Roundtrips() { this.settings[MobileAppSettingsKeys.HostName] = "myapp.azurewebsites.net"; PropertyAssert.Roundtrips(this.settings, s => s.HostName, PropertySetter.NullRoundtrips, defaultValue: "myapp.azurewebsites.net", roundtripValue: "Value"); }
public void WebHookUri_Roundtrips() { Uri roundTrip = new Uri("http://localhost/path"); PropertyAssert.Roundtrips(_webHook, w => w.WebHookUri, PropertySetter.NullRoundtrips, roundtripValue: roundTrip); }
public void Address_Roundtrips() { PropertyAssert.Roundtrips(_media, m => m.Address, PropertySetter.NullRoundtrips, roundtripValue: "Value"); }
public void Secret_Roundtrips() { PropertyAssert.Roundtrips(_webHook, w => w.Secret, PropertySetter.NullRoundtrips, roundtripValue: "你好世界"); }
public void Height_Roundtrips() { PropertyAssert.Roundtrips(_media, m => m.Height, defaultValue: 0, roundtripValue: 1024); }
public void Description_Roundtrips() { PropertyAssert.Roundtrips(_webHook, w => w.Description, PropertySetter.NullRoundtrips, roundtripValue: "你好世界"); }
public void Provider_Roundtrips() { PropertyAssert.Roundtrips(this.settings, s => s.Provider, PropertySetter.NullRoundtrips, roundtripValue: "Value"); }
public void Context_Roundtrips() { DbContext roundtrips = new DbContext(ConnectionStringName); PropertyAssert.Roundtrips(this.manager, m => m.Context, PropertySetter.NullThrows, defaultValue: this.context, roundtripValue: roundtrips); }
public void Value_Roundtrips() { SlackField field = new SlackField("MyTitle", "MyValue"); PropertyAssert.Roundtrips(field, a => a.Value, PropertySetter.NullThrows, defaultValue: "MyValue", roundtripValue: "你好世界"); }
public void Request_Roundtrips() { HttpRequestMessage roundtrips = new HttpRequestMessage(); PropertyAssert.Roundtrips(this.manager, m => m.Request, PropertySetter.NullThrows, defaultValue: this.request, roundtripValue: roundtrips); }
public void UserId_Roundtrips() { PropertyAssert.Roundtrips(this.creds, c => c.UserId, PropertySetter.NullRoundtrips, roundtripValue: "userId"); }
public void SubscriptionId_Roundtrips() { this.settings[MobileAppSettingsKeys.SubscriptionId] = "DefaultSubId"; PropertyAssert.Roundtrips(this.settings, s => s.SubscriptionId, PropertySetter.NullRoundtrips, defaultValue: "DefaultSubId", roundtripValue: "Value"); }
public void Id_Roundtrips() { PropertyAssert.Roundtrips(this.message, m => m.Id, PropertySetter.NullRoundtrips, roundtripValue: "roundtrips"); }
public void NotificationHubName_Roundtrips() { this.settings[MobileAppSettingsKeys.NotificationHubName] = "DefaultNotHubName"; PropertyAssert.Roundtrips(this.settings, s => s.NotificationHubName, PropertySetter.NullRoundtrips, defaultValue: "DefaultNotHubName", roundtripValue: "Value"); }
public void Description_Roundtrips() { PropertyAssert.Roundtrips(_filter, f => f.Description, PropertySetter.NullRoundtrips, roundtripValue: "你好世界"); }
public void Id_Roundtrips() { PropertyAssert.Roundtrips(_workItem, s => s.Id, PropertySetter.NullDoesNotRoundtrip, roundtripValue: "value"); }