public void TestGetEventById() { var sdk = new AmbrosusSdk(new AmbrosusSettings()); var eve = sdk.GetEventById(_eventId); Assert.IsTrue(eve.EventId == _eventId); foreach (var datum in eve.Content.Data) { Assert.IsNotNull(datum.AdditionalData); foreach (var d in datum.AdditionalData) { Assert.IsNotNull(d.Key); Assert.IsNotNull(d.Value); } } }
public void TestGetEventWithInvalidId() { var sdk = new AmbrosusSdk(new AmbrosusSettings()); var eve = sdk.GetEventById("0x34234232"); }
public void TestGetEventByWithEmptyId() { var sdk = new AmbrosusSdk(new AmbrosusSettings()); var eve = sdk.GetEventById(""); }