public void TestCreateEventInvalidSecret() { var assetId = "0x525466324f178cef08e25cf69cffde9f149129e4ceddfaa19767bc29705cef56"; var sdk = new AmbrosusSdk(new AmbrosusSettings()); var eve = sdk.CreateEvent(assetId, new List <Datum> { new Datum { Type = EventType.Temperature.Value, AdditionalData = new Dictionary <string, JToken> { { "temperature", "15" } } } }); }
public void TestCreateEventEmptyAssetId() { var sdk = new AmbrosusSdk(new AmbrosusSettings()); var eve = sdk.CreateEvent("", new List <Datum>()); }
public void TestCreateEventEmptyData() { var assetId = "0x525466324f178cef08e25cf69cffde9f149129e4ceddfaa19767bc29705cef56"; var sdk = new AmbrosusSdk(new AmbrosusSettings()); var eve = sdk.CreateEvent(assetId, new List <Datum>()); }