Пример #1
0
 public static TheoryData <Region> Join_Succeeds_For_All_Regions_TheoryData() => TheoryDataFactory.From(Join_Succeeds_For_All_Regions_InternalTheoryData());
 public static TheoryData <string, uint, uint, Region> Upstream_And_Downstream_Succeeds_For_All_Regions_TheoryData() => TheoryDataFactory.From(Upstream_And_Downstream_Succeeds_For_All_Regions_InternalTheoryData());
Пример #3
0
 public static TheoryData <IoTHubDeviceInfo> Serialize_Deserialize_Composition_Should_Preserve_Information_TheoryData() => TheoryDataFactory.From(
     from networkSessionKey in new[] { (NetworkSessionKey?)null, TestKeys.CreateNetworkSessionKey(3) }
     select new IoTHubDeviceInfo
 {
     DevAddr    = new DevAddr(1),
     DevEUI     = new DevEui(2),
     GatewayId  = "foo",
     NwkSKey    = networkSessionKey,
     PrimaryKey = TestKeys.CreateAppKey(4).ToString()
 });