public void ShouldGetBundle() { var iotaApi = new IotaAPI { IotaClient = new IotaClient(Provider) }; GetBundleResponse gbr = iotaApi.GetBundle(TEST_HASH); Assert.IsNotNull(gbr, "GetBundleResponse should not return null on failure"); }
public void ShouldNotGetBundle() { Assert.ThrowsException <ArgumentException>(() => { _iotaApi.GetBundle("SADASD"); }); }