public Device Build()
 {
     return(new Device(
                identifier: GetPropertyValue(nameof(Device.Identifier), RandomDataGenerator.AlphaString(12)),
                type: GetPropertyValue(nameof(Device.Type), RandomDataGenerator.AlphaString(8)),
                otaKey: GetPropertyValue(nameof(Device.OtaKey), RandomDataGenerator.AccessToken())));
 }
 public DeviceServiceSettings Build()
 {
     return(new DeviceServiceSettings(
                baseUrl: GetPropertyValue(nameof(DeviceServiceSettings.BaseUrl), RandomDataGenerator.BaseUrl()),
                accessToken: GetPropertyValue(nameof(DeviceServiceSettings.AccessToken), RandomDataGenerator.AccessToken()),
                httpProxyUrl: GetPropertyValue(nameof(DeviceServiceSettings.HttpProxyUrl), RandomDataGenerator.Url(subdomain: "proxy")),
                devices: GetPropertyValue(nameof(DeviceServiceSettings.Devices), GenerateDevices())));
 }